]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/ipc.c
i3bar: put tray icons in the save-set (prevents them from crashing when i3bar exits...
[i3/i3] / i3bar / src / ipc.c
index 009c276f32b8e80bafe60e4a53c7960a867d7619..c704b4f9fde0eb037672cbed1179264c4f08e4fe 100644 (file)
@@ -165,6 +165,7 @@ void got_data(struct ev_loop *loop, ev_io *watcher, int events) {
             /* EOF received. Since i3 will restart i3bar instances as appropriate,
              * we exit here. */
             DLOG("EOF received, exiting...\n");
+            clean_xcb();
             exit(EXIT_SUCCESS);
         }
         rec += n;