add a comment
This commit is contained in:
parent
d59f0d67b0
commit
18c2737a2f
1 changed files with 3 additions and 0 deletions
|
@ -911,6 +911,9 @@ static gboolean menu_frame_show(ObMenuFrame *self)
|
|||
|
||||
if (menu_frame_visible == NULL) {
|
||||
/* no menus shown yet */
|
||||
|
||||
/* grab the pointer in such a way as to pass through "owner events"
|
||||
so that we can get enter/leave notifies in the menu. */
|
||||
if (!grab_pointer(TRUE, TRUE, OB_CURSOR_POINTER))
|
||||
return FALSE;
|
||||
if (!grab_keyboard(TRUE)) {
|
||||
|
|
Loading…
Reference in a new issue