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

Gesture-based dragging #1109

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Nashenas88
Copy link
Contributor

I don't expect this PR to be accepted as-is. I hope it can be used to guide #315 to eventually support 3-finger dragging through configuration. This is a feature I've used with other tooling, e.g. iberianpig/fusuma#173, and you can find others online looking for this same functionality.

The behavior works, but the configuration is not clear / well-defined. I'd also not like to contribute to scope-creep for the cosmic launch.

The pointer button press is being extracted to be reused in
a future commit.
The pointer relative is being extracted to be reused in
a future commit.
Drags are started with a configurable gesture, and can be continued
even when lifting the fingers off the touchpad and starting the
gesture again. If a different gesture or pointer click occurs, the
drag will immediately end. The time delay for waiting for the
continuation drag event is also configurable.
@hojjatabdollahi
Copy link

I used to use 3-finger dragging on Mac all the time to move windows around. I don't necessarily miss it in Cosmic, since I mostly use my keyboard. But it's a lot more ergonomic than tap-tap-drag.

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.

2 participants