catch button presses on the frame so that clicks on the side borders dont go through to the root window
This commit is contained in:
parent
f1ba6ac96f
commit
2517e30755
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#define PLATE_EVENTMASK (SubstructureRedirectMask | ButtonPressMask)
|
#define PLATE_EVENTMASK (SubstructureRedirectMask | ButtonPressMask)
|
||||||
#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask)
|
#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask | \
|
||||||
|
ButtonPressMask | ButtonReleaseMask)
|
||||||
#define ELEMENT_EVENTMASK (ButtonPressMask | ButtonReleaseMask | \
|
#define ELEMENT_EVENTMASK (ButtonPressMask | ButtonReleaseMask | \
|
||||||
ButtonMotionMask | ExposureMask)
|
ButtonMotionMask | ExposureMask)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue