Makes a simple click not so accidently annoying by making it not
execute a menu action if nothing is highlighted.
This commit is contained in:
parent
1a3bcbddbc
commit
19df0324a6
1 changed files with 2 additions and 2 deletions
|
@ -1040,9 +1040,9 @@ static void event_handle_menu(Client *client, XEvent *e)
|
||||||
menu_control_mouseover(over, FALSE);
|
menu_control_mouseover(over, FALSE);
|
||||||
menu_entry_render(over);
|
menu_entry_render(over);
|
||||||
over = NULL;
|
over = NULL;
|
||||||
|
/* this hides the menu */
|
||||||
|
menu_entry_fire(entry);
|
||||||
}
|
}
|
||||||
/* this hides the menu */
|
|
||||||
menu_entry_fire(entry);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue