let you use control button to run keyboard accels in menus
This commit is contained in:
parent
5d5156dcb3
commit
e10c54137a
1 changed files with 2 additions and 2 deletions
|
@ -1588,8 +1588,8 @@ static gboolean event_handle_menu_keyboard(XEvent *ev)
|
|||
menu_frame_select_next(frame);
|
||||
}
|
||||
|
||||
/* keyboard accelerator shortcuts. */
|
||||
else if (ev->xkey.state == 0 &&
|
||||
/* keyboard accelerator shortcuts. (allow controlmask) */
|
||||
else if ((ev->xkey.state & ~ControlMask) == 0 &&
|
||||
/* was it a valid key? */
|
||||
unikey != 0 &&
|
||||
/* don't bother if the menu is empty. */
|
||||
|
|
Loading…
Reference in a new issue