-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
swipe: Fix previous workspace remembering in workspace gesture #12399
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
base: main
Are you sure you want to change the base?
Conversation
would be nice, shouldnt be hard. |
139f404 to
70fc005
Compare
Fixes a bug that previous workspace does not exist after swiping to a workspace
|
Done |
|
On the topic of saving previous workspace: why does Hyprland/src/managers/KeybindManager.cpp Lines 1385 to 1447 in 2b0fd41
|
|
good question. No clue. Didn't write that |
|
Previous workspace remembering could use a rewrite anyways. |
|
I also just noticed that, e.g., if I have workspaces 1, 2, and 3 and I swipe-switch from 1 to 3 (with a single gesture), during the gesture we first switch to 2, so 3 considers its previous workspace to be 2 (even though I actually came from workspace 1). IMO it would feel more natural if the workspace only switched at the end of the gesture. What do you think? |
Describe your PR, what does it fix/add?
Fixes a bug that previous workspace does not exist after swiping to a workspace
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
No
Is it ready for merging, or does it need work?
Probably ready for merge. Or needs a test?