projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3689fa4
)
garb press events so they dont break bindings... X sucks
author
Dana Jansens
<danakj@orodu.net>
Sun, 11 May 2003 17:49:12 +0000
(17:49 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 11 May 2003 17:49:12 +0000
(17:49 +0000)
openbox/slit.c
patch
|
blob
|
history
diff --git
a/openbox/slit.c
b/openbox/slit.c
index a5d8be3b6666188845ef4fc0d8658f112b3f6502..3956e0ec9be061db550e7607c954a964a4297f79 100644
(file)
--- a/
openbox/slit.c
+++ b/
openbox/slit.c
@@
-136,8
+136,9
@@
void slit_add(Window win, XWMHints *wmhints)
XChangeSaveSet(ob_display, app->icon_win, SetModeInsert);
XSelectInput(ob_display, app->icon_win, SLITAPP_EVENT_MASK);
- grab_button_full(2, 0, app->icon_win, ButtonMotionMask, GrabModeAsync,
- ob_cursors.move);
+ grab_button_full(2, 0, app->icon_win,
+ ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
+ GrabModeAsync, ob_cursors.move);
g_hash_table_insert(slit_app_map, &app->icon_win, app);