Properly die when the X server dies
commit7898cc7de74ab760b64fb8aba5c6f05434909ad8
authorUli Schlachter <psychon@znc.in>
Sat, 13 Nov 2010 21:29:05 +0000 (13 22:29 +0100)
committerUli Schlachter <psychon@znc.in>
Sat, 13 Nov 2010 21:29:05 +0000 (13 22:29 +0100)
treee5d4dee2032411529df3f269accef318d44a3ea1
parente75186701e6e80d7bf61fbfc144e2eff59077499
Properly die when the X server dies

When the X connection breaks for whatever reason, awesome wouldn't properly
exit, but go into a busy loop instead. Fix this by dying when our connection to
the X server dies.

Signed-off-by: Uli Schlachter <psychon@znc.in>
awesome.c