diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-08 00:28:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-08 00:28:05 +0000 |
| commit | 26fc54c9a3d7ef92ef3748b7d4d57e57a71ea798 (patch) | |
| tree | 8b10c795844c05eb37287fd07781592a1ecd8eb8 /openbox/menuframe.c | |
| parent | 38b12c6cba7c7448d1d43b3f91b40726985b7235 (diff) | |
why did we pass thru owner events ?? its working without that.. hum..
and now the frame buttons dont get press hilights while the menu is open
Diffstat (limited to 'openbox/menuframe.c')
| -rw-r--r-- | openbox/menuframe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 768176ab..461a2f2a 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -912,10 +912,10 @@ static gboolean menu_frame_show(ObMenuFrame *self) if (menu_frame_visible == NULL) { /* no menus shown yet */ - if (!grab_pointer(TRUE, TRUE, OB_CURSOR_POINTER)) + if (!grab_pointer(TRUE, FALSE, OB_CURSOR_POINTER)) return FALSE; if (!grab_keyboard(TRUE)) { - grab_pointer(FALSE, TRUE, OB_CURSOR_POINTER); + grab_pointer(FALSE, FALSE, OB_CURSOR_POINTER); return FALSE; } } @@ -1024,7 +1024,7 @@ void menu_frame_hide(ObMenuFrame *self) if (menu_frame_visible == NULL) { /* last menu shown */ - grab_pointer(FALSE, TRUE, OB_CURSOR_NONE); + grab_pointer(FALSE, FALSE, OB_CURSOR_NONE); grab_keyboard(FALSE); } |
