]> Dogcows Code - chaz/openbox/commitdiff
catch button presses on the frame so that clicks on the side borders dont go through...
authorDana Jansens <danakj@orodu.net>
Tue, 1 Apr 2003 21:17:09 +0000 (21:17 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 1 Apr 2003 21:17:09 +0000 (21:17 +0000)
engines/openbox/obengine.c

index 1ef502ae372a3be7c4b09bf0c163f2d365efa543..64e5123198e661771324d6a770c77169452edbea 100644 (file)
@@ -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)
 
This page took 0.023506 seconds and 4 git commands to generate.