mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
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);
|
||||
else
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user