Use the correct mask for XSendEvent()

Sending ClientMessage is plain wrong.
This commit is contained in:
Henrik Andersson 2017-01-24 23:45:17 +01:00
parent b29239986e
commit 14a4bf2d1d

2
xwin.c
View File

@ -2402,7 +2402,7 @@ xwin_process_events(void)
xevent.xclient.window = xevent.xclient.window =
RootWindowOfScreen(g_screen); RootWindowOfScreen(g_screen);
XSendEvent(g_display, xevent.xclient.window, False, XSendEvent(g_display, xevent.xclient.window, False,
ClientMessage, &xevent); SubstructureRedirectMask | SubstructureNotifyMask, &xevent);
break; break;
} }
} }