diff --git a/src/x11/screen.c b/src/x11/screen.c index c350236..2bd37b8 100644 --- a/src/x11/screen.c +++ b/src/x11/screen.c @@ -146,6 +146,8 @@ void screen_check_event(XEvent event) { if (event.type == randr_event_base + RRScreenChangeNotify) randr_update(); + else + LOG_D("XEvent: Ignored '%d'", event.type); } void xinerama_update(void) diff --git a/src/x11/x.c b/src/x11/x.c index 92942da..fa2bc1c 100644 --- a/src/x11/x.c +++ b/src/x11/x.c @@ -852,6 +852,8 @@ gboolean x_mainloop_fd_dispatch(GSource *source, GSourceFunc callback, gpointer unsigned int state; while (XPending(xctx.dpy) > 0) { XNextEvent(xctx.dpy, &ev); + LOG_D("XEvent: processing '%d'", ev.type); + switch (ev.type) { case Expose: if (ev.xexpose.count == 0 && xctx.visible) {