linux: Fix pressing Alt not showing menubar
This commit is contained in:
parent
5d7cfa1b3a
commit
791f988aba
1 changed files with 0 additions and 3 deletions
|
@ -905,9 +905,6 @@ void NativeWindowViews::HandleKeyboardEvent(
|
|||
// When a single Alt is pressed:
|
||||
menu_bar_alt_pressed_ = true;
|
||||
} else if (event.type == blink::WebInputEvent::KeyUp && IsAltKey(event) &&
|
||||
#if defined(USE_X11)
|
||||
event.modifiers == 0 &&
|
||||
#endif
|
||||
menu_bar_alt_pressed_) {
|
||||
// When a single Alt is released right after a Alt is pressed:
|
||||
menu_bar_alt_pressed_ = false;
|
||||
|
|
Loading…
Reference in a new issue