mirror of https://github.com/0intro/wmii
Ignore ClientClick events that pass through client windows.
This commit is contained in:
parent
b2ea1da6ba
commit
6be3355002
|
@ -140,7 +140,8 @@ bup_event(Window *w, void *aux, XButtonEvent *e) {
|
||||||
XAllowEvents(display, ReplayPointer, e->time);
|
XAllowEvents(display, ReplayPointer, e->time);
|
||||||
else
|
else
|
||||||
XUngrabPointer(display, e->time);
|
XUngrabPointer(display, e->time);
|
||||||
event("ClientClick %#C %d\n", aux, e->button);
|
if(!e->subwindow)
|
||||||
|
event("ClientClick %#C %d\n", aux, e->button);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue