feat(navigation): drag navigation for overview - #82
Conversation
|
Hello! Would you be willing to make the key pressed to drag freely configuration as middle mouse button might be inconvienient for people moving from/to other WMs? I for example use the right mouse button to navigate and the left to move while the middle mouse button is only used to scroll. |
"Note that this behavior can be triggered by the existing layout-scroll-drag bind, as well as standalone with just Middle Mouse Button -- replicates functionality of drag to scroll workspaces." -- not sure if this is clear enough, my intent was that you can either configure a bind to use OR by holding down the middle mouse button. Is this what you're after? |
Summary
This PR builds on top of existing drag navigation implemented in a previous PR to extend that functionality to the overview.
Motivation
Adds the convenience of being able to easily drag the screen to navigate between windows in the overview mode. This PR does not modify any other functionality.
Note that this behavior can be triggered by the existing layout-scroll-drag bind, as well as standalone with just Middle Mouse Button -- replicates functionality of drag to scroll workspaces.
Type of Change
Related Issue
Related to PR #58
Testing
meson compile -C build-release umbriel unit-testsmeson test -C build-release --print-errorlogsbash -n tests/harness/checks/315_scroll_drag.shgit diff --checkMod+MouseMiddleviewport dragging while the overview was open in a native Umbriel session.315_scroll_drag.shto cover dragging a scrolling workspace row from the overview while preserving unmodified middle-drag workspace navigation.Manual Coverage
Screenshots / Videos
2026-08-31.15-25-10.mp4
Checklist
SCOPE.md, or its scope was agreed in an issue or on Discord first.CONTRIBUTING.md.just format, or this PR has no C++ changes.docs/andexamples/config.toml, or this PR does not change user-facing configuration or behavior.