Skip to content

wayland: send key-down events for modifier keys #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xmvziron
Copy link

@xmvziron xmvziron commented Jan 9, 2025

See my post on the linked issue for details.

Closes: linuxmint/wayland#1

Presently, Muffin sends key-up events for modifier keys but no key-down
event. This breaks applications that use a modifier key standalone, such
as the Shift-click functionality in browsers, games which use modifier
keys seperately, and Wine, where modifiers are rendered completely
non-functional due to how its input model works. This commit fixes
those issues.

Closes: linuxmint/wayland#1
@ezterry
Copy link

ezterry commented Mar 23, 2025

This fixed some issues I was having with wine/proton and the game not recieving modifier keys (Shift, Control, or Alt)

However it causes an unexpected behavior with the meta [windows] key: The menu opens on keydown, thus causing keybinds based on meta to be hard to trigger (it will trigger if closing the menu) This includes window movement shortcuts (meta-left/right) as well as custom shortcuts I have to launch apps)

(Edit for reference I'm currently working with the supplied patch plus a workaround of my own to still blocks SuperL/R so windows key shortcuts work, since at least currently only the desktop manager has shutcuts attatched to this key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wayland - Ctrl + Click Gesture Does Not Work Anywhere
3 participants