wkj says to do this
This commit is contained in:
parent
26af0278ae
commit
678359a95a
@ -416,6 +416,7 @@ sendcmessage(Window w, Atom a, long x, int isroot)
|
|||||||
mask = SubstructureRedirectMask; /* magic! */
|
mask = SubstructureRedirectMask; /* magic! */
|
||||||
else
|
else
|
||||||
mask = ExposureMask; /* not really correct but so be it */
|
mask = ExposureMask; /* not really correct but so be it */
|
||||||
|
mask |= KeyPressMask; /* seems to be necessary */
|
||||||
status = XSendEvent(dpy, w, False, mask, &ev);
|
status = XSendEvent(dpy, w, False, mask, &ev);
|
||||||
if (status == 0)
|
if (status == 0)
|
||||||
fprintf(stderr, "rio: sendcmessage failed\n");
|
fprintf(stderr, "rio: sendcmessage failed\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user