Merge pull request #75172 from bruvzg/remove_metamem

[Windows] Remove meta_mem update on keyup/keydown.
This commit is contained in:
Yuri Sizov 2023-03-21 11:35:44 +01:00 committed by GitHub
commit a44fde12f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3439,9 +3439,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;