use keyrelease to fire menu actions not key press
when keypress is used, the keyrelease gets sent to whatever window is focused. if it's a stupid program - like most any program - it will update its user_time, preventing the new window from being focused
This commit is contained in:
parent
ee8d27a6e8
commit
e4f055b0c1
1 changed files with 1 additions and 1 deletions
|
@ -1778,7 +1778,7 @@ static gboolean event_handle_menu(XEvent *ev)
|
|||
f->child == e->frame)
|
||||
menu_frame_select(e->frame, e, FALSE);
|
||||
break;
|
||||
case KeyPress:
|
||||
case KeyRelease:
|
||||
ret = event_handle_menu_keyboard(ev);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue