Ewmh: Improve ewmh_send_message
This commit is contained in:
parent
e6fc0a4976
commit
0270a28181
@ -152,7 +152,8 @@ ewmh_send_message(Window d, Window w, char *atom, long d0, long d1, long d2, lon
|
||||
e.data.l[3] = d3;
|
||||
e.data.l[4] = d4;
|
||||
|
||||
XSendEvent(dpy, d, False, NoEventMask, (XEvent*)&e);
|
||||
XSendEvent(dpy, d, False, (d4) ? (SubstructureRedirectMask | SubstructureNotifyMask) : NoEventMask, (XEvent*)&e);
|
||||
XSync(dpy, False);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user