-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix previous workspace remembering in workspace gesture and the movetoworkspace dispatcher
#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
|
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? |
|
probably, yes, but hard to do internally as you probably have seen from how it works. |
70fc005 to
a13d730
Compare
movetoworkspace dispatcher
Fixes a bug that previous workspace does not exist after swiping to a workspace
|
Alright. I am not sure if I will get to doing it soon, so, if you agree with the changes in this PR, I suggest to merge it. For the past few days I have also been testing Hyprland with |
442de01 to
5bf99f0
Compare
Describe your PR, what does it fix/add?
Fixes a bug that previous workspace does not exist after swiping to a workspace. Enables previous workspace remembering on
movetoworkspace, regardless ofbinds:allow_workspace_cycles.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.