Use the correct mask for XSendEvent()
Sending ClientMessage is plain wrong.
This commit is contained in:
parent
b29239986e
commit
14a4bf2d1d
2
xwin.c
2
xwin.c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user