diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-01 21:17:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-01 21:17:09 +0000 |
| commit | 2517e30755d124e1fb2f361e22e91917a24edc9a (patch) | |
| tree | bf9366f4229fb8834752fb825c579648245cbdbd /engines/openbox | |
| parent | f1ba6ac96fa7ba59cbd5901959e8095673000342 (diff) | |
catch button presses on the frame so that clicks on the side borders dont go through to the root window
Diffstat (limited to 'engines/openbox')
| -rw-r--r-- | engines/openbox/obengine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/openbox/obengine.c b/engines/openbox/obengine.c index 1ef502ae..64e51231 100644 --- a/engines/openbox/obengine.c +++ b/engines/openbox/obengine.c @@ -14,7 +14,8 @@ #include <glib.h> #define PLATE_EVENTMASK (SubstructureRedirectMask | ButtonPressMask) -#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask) +#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask | \ + ButtonPressMask | ButtonReleaseMask) #define ELEMENT_EVENTMASK (ButtonPressMask | ButtonReleaseMask | \ ButtonMotionMask | ExposureMask) |
