summaryrefslogtreecommitdiff
path: root/openbox/slit.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-11 17:45:21 +0000
committerDana Jansens <danakj@orodu.net>2003-05-11 17:45:21 +0000
commit3689fa4b7a80926ef526bd9bb2484f33fc80d6e5 (patch)
tree8c808142f004b8a3df00875d4eb0dc0889e2fbde /openbox/slit.c
parentffb76025fa8463321fddaf65f4e436754f35cdd7 (diff)
grab button events on the slit so they dont go through to root
Diffstat (limited to 'openbox/slit.c')
-rw-r--r--openbox/slit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/slit.c b/openbox/slit.c
index 7b39e227..a5d8be3b 100644
--- a/openbox/slit.c
+++ b/openbox/slit.c
@@ -6,7 +6,8 @@
#include "render/theme.h"
#include "render/render.h"
-#define SLIT_EVENT_MASK (EnterWindowMask | LeaveWindowMask)
+#define SLIT_EVENT_MASK (ButtonPressMask | ButtonReleaseMask | \
+ EnterWindowMask | LeaveWindowMask)
#define SLITAPP_EVENT_MASK (StructureNotifyMask)
struct Slit {