! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
change workspace while drag moving window
Status:
RESOLVED: MOVED

Comments

Description rootsuid 2009-02-06 20:41:19 CET
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.

Example usage:
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
Comment 1 rootsuid 2009-02-06 20:41:58 CET
Created attachment 2157 
change workspace patch
Comment 2 Olivier Fourdan editbugs 2009-02-07 07:46:15 CET
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.
Comment 3 rootsuid 2009-02-07 16:19:51 CET
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?
Comment 4 aklsd 2018-09-13 22:47:41 CEST
Created attachment 7979 
add the ability to grab a window using mouse and switch workspace using shortcuts

hello

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
Comment 5 Git Bot editbugs 2020-05-29 11:40:08 CEST
-- 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

Bug #4913

Reported by:
rootsuid
Reported on: 2009-02-06
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Attachments

Additional information