diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-03-21 09:16:10 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-27 17:38:51 +0200 |
commit | 989d556f8e34e6eae783a9098b4144b85008cb0b (patch) | |
tree | b3adb84e647cea6d46ca926abbe604bf0c74db28 /platform | |
parent | 9ac978190e25a5ec44d4f66a4883d3ef707e46f0 (diff) |
[Windows] Remove meta_mem update on keyup/keydown.
(cherry picked from commit e6067a39b523d4c153f78e76f506ee12f2bf046f)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/display_server_windows.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 66dc9a2a5a..e0a08cf7e1 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -3418,9 +3418,6 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA gr_mem = alt_mem; } } - if (wParam == VK_LWIN || wParam == VK_RWIN) { - meta_mem = (uMsg == WM_KEYDOWN || uMsg == WM_SYSKEYDOWN); - } if (windows[window_id].ime_suppress_next_keyup && (uMsg == WM_KEYUP || uMsg == WM_SYSKEYUP)) { windows[window_id].ime_suppress_next_keyup = false; |