I am trying to get global hotkeys, namely push-to-talk and mute in Discord and Teamspeak flatpaks, working. I have set the “Legacy X11 App Support” option to “Always”, but in spite of this, these apps only register their hotkeys when I press them when another XWayland window is in focus. They do not work when a native Wayland window is in focus.
Am I doing something wrong? Is this not what the Legacy X11 App Support option is for?
Are you sure that Discord and TeamSpeak aren’t running on native wayland instead of xwayland? I don’t know if TeamSpeak supports it but Discord’s flatpak has optional wayland support.