Close menu on click if outside the menu.
I think, haven't tested.
This commit is contained in:
parent
702995014a
commit
b8715ba309
1 changed files with 4 additions and 0 deletions
|
@ -1010,6 +1010,10 @@ static void event_handle_menu(ObClient *client, XEvent *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* will call the menu_hide() for each submenu as well */
|
||||||
|
if (!it)
|
||||||
|
menu_hide(menu_visible->data);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
|
|
Loading…
Reference in a new issue