compositor: Verify XDG_RUNTIME_DIR variable
authorMartin Minarik <minarik11@student.fiit.stuba.sk>
Mon, 18 Jun 2012 18:15:18 +0000 (20:15 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Jun 2012 17:42:50 +0000 (13:42 -0400)
commit37032f831f5015f117c65118096b16769ce3ac52
tree10612e01dc858eab4f2409582b01cc129ae59a46
parenta85b4fb6ac62189c6a67371c164def0e5ccd527a
compositor: Verify XDG_RUNTIME_DIR variable

Print an user friendly error mesage when
the variable is not a valid directory.

krh: Edited to make message a litle more precise and added a check to
verify XDG_RUNTIME_DIR ownership and access mode.
src/compositor.c