diff options
author | Rindbee <idleman@yeah.net> | 2023-03-07 16:05:11 +0800 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-14 13:59:03 +0100 |
commit | 323c3f80c5885b7476a0aac9dd5fac39b3b0c290 (patch) | |
tree | 95348e715224b5af38954e780ba36c7139403cfd /platform | |
parent | 5a7624e50f8ea329046711a1c75bdd5c4e3fe932 (diff) |
Fix broken shortcut key input
(cherry picked from commit 91e460d500c52505557ed79af4547f188b635589)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linuxbsd/x11/display_server_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index d1f1115aad..7a59a1a398 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -2917,7 +2917,7 @@ BitField<MouseButtonMask> DisplayServerX11::_get_mouse_button_state(MouseButton } void DisplayServerX11::_handle_key_event(WindowID p_window, XKeyEvent *p_event, LocalVector<XEvent> &p_events, uint32_t &p_event_index, bool p_echo) { - WindowData wd = windows[p_window]; + WindowData &wd = windows[p_window]; // X11 functions don't know what const is XKeyEvent *xkeyevent = p_event; |