From: Dana Jansens Date: Tue, 1 Apr 2003 21:17:09 +0000 (+0000) Subject: catch button presses on the frame so that clicks on the side borders dont go through... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2517e30755d124e1fb2f361e22e91917a24edc9a;p=chaz%2Fopenbox catch button presses on the frame so that clicks on the side borders dont go through to the root window --- 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 #define PLATE_EVENTMASK (SubstructureRedirectMask | ButtonPressMask) -#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask) +#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask | \ + ButtonPressMask | ButtonReleaseMask) #define ELEMENT_EVENTMASK (ButtonPressMask | ButtonReleaseMask | \ ButtonMotionMask | ExposureMask)