From 2517e30755d124e1fb2f361e22e91917a24edc9a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 1 Apr 2003 21:17:09 +0000 Subject: [PATCH] catch button presses on the frame so that clicks on the side borders dont go through to the root window --- engines/openbox/obengine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.45.2