A while back I had mentioned modifying xfwm4 to allow you to change workspace while drag moving a window.
It's a tiny patch with no settings.. no real point to disable it, since they just don't use it.
I feel much more fluid holding alt, "grabbing" a window, and then tapping 2 to go to workspace 2...
- alt moving window would require easy_click on
- in the example, my workspace movement is alt+2, but I already have alt down for easy_click movement =]
- this patch doesn't interact with easy_click, as you could just grab the title bar and drag.. then switch workspace with whatever keys you have setup
Created attachment 2157
change workspace patch
Humm, not really, there is no rule that says the modifier to change workspace has to be the same at the one to move windows, as bot hare configurable.
So that patch works only in the default case, not when the user has customized his settings.
Maybe my description is lacking... it *does* use the whatever the users settings are, it doesn't require alt for easy_click or anything.
All it does is check the users setting for changing workspace, *while* a user is dragging windows.
My example, however, does seem even more fluid since alt is used for both. It would work fine, however, if you were dragging from title bar, and used whatever hotkeys to change workspaces.
I see what you mean though, for the modifiers.. if control+button1 was used to drag windows.. and alt+1 was used to change to workspace 1.. the modifier state wouldn't be ==. It would just have to state&key.modifier == key.modifier to work in that case too.. want me to update and attach new patch?
Created attachment 7979
add the ability to grab a window using mouse and switch workspace using shortcuts
here is a little patch not sure if it is the exact same feature but i'm interested to be able to grab a window using mouse and switch workspace using shortcuts.
I'm willing to help to get it done
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/17.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev