1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

[Windows] Remove meta_mem update on keyup/keydown.

(cherry picked from commit e6067a39b5)
This commit is contained in:
bruvzg
2023-03-21 09:16:10 +02:00
committed by Yuri Sizov
parent 9ac978190e
commit 989d556f8e

View File

@@ -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;