summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-13 11:47:09 +0200
committerGitHub <noreply@github.com>2022-04-13 11:47:09 +0200
commit0a158d77230711bd98073338787067999cb0b589 (patch)
tree48c657d27cd4339fd32dd76bb0635a5dc5446d4d /platform/osx
parent8904731b8b0a8560c43a8b6680546d8f67f47bb7 (diff)
parent8b0761d1fd4103174ba173a80a95f0c9fc57c792 (diff)
Merge pull request #60196 from bruvzg/fix_menu_kbd
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/display_server_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/display_server_osx.mm b/platform/osx/display_server_osx.mm
index c7381f06e3..d209c90d87 100644
--- a/platform/osx/display_server_osx.mm
+++ b/platform/osx/display_server_osx.mm
@@ -326,7 +326,7 @@ void DisplayServerOSX::_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())) {