[Windows] Remove meta_mem update on keyup/keydown.

This commit is contained in:
bruvzg 2023-03-21 09:16:10 +02:00
parent a008a06fcb
commit e6067a39b5
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38

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;