From 26fc54c9a3d7ef92ef3748b7d4d57e57a71ea798 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 00:28:05 +0000 Subject: [PATCH] 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 --- openbox/menuframe.c | 6 +++--- 1 file 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); } -- 2.45.2