diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-04-13 09:58:38 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-04-13 09:58:38 +0300 |
commit | 8b0761d1fd4103174ba173a80a95f0c9fc57c792 (patch) | |
tree | f23c34e6bda67fea40bf33eb6305b152e961cc1c /platform/linuxbsd | |
parent | 895f2a21f4beea6f4c89d33666bdf3b0925d6db7 (diff) |
Fix sub-menu keyboard navigation.
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r-- | platform/linuxbsd/display_server_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/display_server_x11.cpp b/platform/linuxbsd/display_server_x11.cpp index db2fe274d9..7da30ac363 100644 --- a/platform/linuxbsd/display_server_x11.cpp +++ b/platform/linuxbsd/display_server_x11.cpp @@ -3062,7 +3062,7 @@ void DisplayServerX11::_dispatch_input_event(const Ref<InputEvent> &p_event) { Callable::CallError ce; { - List<WindowID>::Element *E = popup_list.front(); + List<WindowID>::Element *E = popup_list.back(); if (E && Object::cast_to<InputEventKey>(*p_event)) { // Redirect keyboard input to active popup. if (windows.has(E->get())) { |