diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 14:07:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 14:07:29 +0000 |
| commit | ff43372da760c84e92ca7a7e9648d09fcfba2cf0 (patch) | |
| tree | 138ab9559dd512ea0d6e998bcf1ee2baab0497d9 /openbox/moveresize.c | |
| parent | a70633d42af849e4de2288ec48fa6abe726a484e (diff) | |
only pass thru events when the menu is open, don't for other stuff
Diffstat (limited to 'openbox/moveresize.c')
| -rw-r--r-- | openbox/moveresize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index d078f52a..6cab5226 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -164,14 +164,14 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr) else g_assert_not_reached(); - grab_pointer(TRUE, cur); + grab_pointer(TRUE, FALSE, cur); grab_keyboard(TRUE); } void moveresize_end(gboolean cancel) { grab_keyboard(FALSE); - grab_pointer(FALSE, OB_CURSOR_NONE); + grab_pointer(FALSE, FALSE, OB_CURSOR_NONE); popup_hide(popup); |
