picom/src
Uli Schlachter 9bb3327549 Die when the X11 connection breaks
With libX11, the library calls an I/O error handler if the connection to
the server breaks. The default I/O error handler prints an error message
and calls exit(). This can be seen when running a "pre-xcb" compton
against Xephyr and then closing the Xephyr window:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 241 requests (241 known processed) with 0 events remaining.

The current compton would just continue running. After this commit, it
instead exits with this message:

handle_queued_x_events(): X11 server connection broke (error 1)

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-10-10 10:54:05 +01:00
..
c2.c Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
c2.h Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
common.h Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
compton.c Die when the X11 connection breaks 2018-10-10 10:54:05 +01:00
compton.h Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
config.c Sort out license problems 2018-10-03 22:14:51 +01:00
config.h Sort out license problems 2018-10-03 22:14:51 +01:00
config_libconfig.c Sort out license problems 2018-10-03 22:14:51 +01:00
dbus.c Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
dbus.h Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
opengl.c Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
opengl.h Fix typo in CONTRIBUTORS, move licenses around 2018-10-03 22:24:12 +01:00
region.h Sort out license problems 2018-10-03 22:14:51 +01:00
utils.h Sort out license problems 2018-10-03 22:14:51 +01:00
win.c Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
win.h Sort out license problems 2018-10-03 22:14:51 +01:00
x.c Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
x.h Add the xcb_connection_t to session_t 2018-10-10 10:54:00 +01:00
xrescheck.c Sort out license problems 2018-10-03 22:14:51 +01:00
xrescheck.h Sort out license problems 2018-10-03 22:14:51 +01:00