Change whether touchpad is disabled while typing based on active window #11570
Unanswered
m-bartlett
asked this question in
Feature requests - Window management
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Add a new windowrule that would allow either explicit disabling or enabling of the touchpad while typing when a window matching that rule is focused.
For example:
Regardless of the global option
input:touchpad:disable_while_typing, the top line would make it so when inkscape is my active window, the touchpad is enabled while typing and hence I can use the spacebar+touchpad to pan. The bottom line would make it so the touchpad is disabled while typing when codium is the active window.Why would it be beneficial
input:touchpad:disable_while_typingis a good feature for me as my laptop has a comparatively large touchpad that is easy to accidentally bump while typing. However, there are many specific applications where I would like to disable this feature while the application is active/focused. For example, many graphics editing software lets one pan by holding down the spacebar and moving the cursor. This functionality is disable whiledisable_while_typingis enabled since holding the spacebar counts as typing.I can imagine a manual fix for this situation by writing a custom daemon that listens on the Hyprland socket for window focus events and toggling the disable-while-typing setting accordingly. I think integrating this feature natively would make it more accessible and less of a kludge.
Beta Was this translation helpful? Give feedback.
All reactions