Ignore ClientClick events that pass through client windows.

This commit is contained in:
Kris Maglione 2010-05-28 12:46:48 -04:00
parent b2ea1da6ba
commit 6be3355002
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -23,6 +23,6 @@ CFLAGS += \
-Wreturn-type \
-Wstrict-prototypes \
-Wtrigraphs
MKDEP = cpp -MM
MKDEP = cpp -M
SOCFLAGS += -fPIC