From 989d556f8e34e6eae783a9098b4144b85008cb0b Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 21 Mar 2023 09:16:10 +0200 Subject: [Windows] Remove meta_mem update on keyup/keydown. (cherry picked from commit e6067a39b523d4c153f78e76f506ee12f2bf046f) --- platform/windows/display_server_windows.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'platform') 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; -- cgit v1.2.3