Debug processed XEvents
This commit is contained in:
parent
aa5cc977cc
commit
c12873184c
@ -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)
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user