winewayland: Fix release_all_keys's modifier filtering.
Fix the wayland side of https://bugs.winehq.org/show_bug.cgi?id=55336
Exit menu key by default:
That's the actual behavior, any non-special key will exit the menu key, and be sent to the client.
I was also wondering if we should add menu_sys_key = f10_key = 0;
when receiving a WM_ACTIVATE
in win32u/defwnd.c
's default_window_proc
but I guess not ?
Fix repeated key for no reason:
For some reason when ALT is pressed, it is spammed and thus spams SYS_COMMAND. This fix that, but I don't know what I am doing here. I don't see any repeating key spamming with winex11 but I could be wrong. However alt/SYS_COMMAND should not be repeated.
That wasn't happening with winex11.drv.
Fix release_all_keys modifier filtering:
That was the main reason why alt-tab leads to the menu key, NtUserGetAsyncKeyboardState also uses left and right system keys.
Edited by Yuri Hérouard