garb press events so they dont break bindings... X sucks
This commit is contained in:
parent
3689fa4b7a
commit
506122a110
1 changed files with 3 additions and 2 deletions
|
@ -136,8 +136,9 @@ void slit_add(Window win, XWMHints *wmhints)
|
||||||
XChangeSaveSet(ob_display, app->icon_win, SetModeInsert);
|
XChangeSaveSet(ob_display, app->icon_win, SetModeInsert);
|
||||||
XSelectInput(ob_display, app->icon_win, SLITAPP_EVENT_MASK);
|
XSelectInput(ob_display, app->icon_win, SLITAPP_EVENT_MASK);
|
||||||
|
|
||||||
grab_button_full(2, 0, app->icon_win, ButtonMotionMask, GrabModeAsync,
|
grab_button_full(2, 0, app->icon_win,
|
||||||
ob_cursors.move);
|
ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
|
||||||
|
GrabModeAsync, ob_cursors.move);
|
||||||
|
|
||||||
g_hash_table_insert(slit_app_map, &app->icon_win, app);
|
g_hash_table_insert(slit_app_map, &app->icon_win, app);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue