diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-11 17:49:12 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-11 17:49:12 +0000 |
| commit | 506122a110035f810c7d25225661973845a59c62 (patch) | |
| tree | 5b9bac01f0da220b0bc9f830ef3de30708763839 | |
| parent | 3689fa4b7a80926ef526bd9bb2484f33fc80d6e5 (diff) | |
garb press events so they dont break bindings... X sucks
| -rw-r--r-- | openbox/slit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/slit.c b/openbox/slit.c index a5d8be3b..3956e0ec 100644 --- 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); |
