WMenubar: remove unneeded action.

(menubar_activate): do not focus explicitly. Focus is made in
widget_select().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-03-17 10:46:01 +03:00
parent 789aa0bb22
commit 53d073758f
1 changed files with 0 additions and 1 deletions

View File

@ -1074,7 +1074,6 @@ menubar_activate (WMenuBar * menubar, gboolean dropped, int which)
{
widget_set_options (w, WOP_SELECTABLE, TRUE);
widget_set_state (w, WST_FOCUSED, TRUE); /* FIXME: unneeded? */
menubar->is_dropped = dropped;
if (which >= 0)
menubar->selected = (guint) which;