Skip to content
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

Spacebar as a keyboard control blocks mouse movement on some touchpads #157

Open
BetaRays opened this issue Jun 27, 2024 · 2 comments
Open

Comments

@BetaRays
Copy link

I noticed this section in the manual:

KEYBOARD CONTROLS
The following keyboard actions can be used during selection:

Escape Cancel the selection and exit slurp

Space If currently making a selection, while space is held down, move the entire selection rather than change the selection's size as you move the pointer.

Shift Experimental. If the -a option wasn't specified, then set the aspect ratio to 1:1 while shift is held down, releasing it restores the un-constrained aspect ratio. Note: This behavior may change in the future depending on feedback.

However, on my computer, with the default input options, pressing keys such as space disables mouse movements.
This is not the case with modifier keys such as Shift, Control or Alt, so the Shift shortcut is usable.

I suggest using Alt instead of Space to fix this problem.

@emersion
Copy link
Owner

Probably because of disable-while-typing settings of libinput.

@BetaRays
Copy link
Author

BetaRays commented Jul 1, 2024

Probably because of disable-while-typing settings of libinput.

Indeed, adding input * dwt disabled (which controls disable-while-typing) to my Sway configuration allows me to move the cursor while pressing space.

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

No branches or pull requests

2 participants