! 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 !
enhance xfwm4 focus behaviour when using Alt+Tab


Description Xavier Otazu 2007-05-23 12:11:19 CEST
I would like to suggest a new focus behaviour for the xfwm4.
Actually, when changing focus using the Alt+Tab shorcut, the newly
focused windows raises. Could it be possible not to raise it?
This behaviour could be defined by the user in the settings manager with
an option similar to the "raise when click". In fact, even if "raise
when focus" is deactivated (which is really why I want when changing
using Alt+Tab) it raises.

	I think this new behaviour is iseful when you want to maintain
some order on the overlaping windows but you want to change focus
between windows without changing its overlaping.
Comment 1 Eric Koegel editbugs 2011-12-07 14:02:09 CET
Created attachment 4009 
[PATCH] clientCycleFocusAndRaise now checks for raise_on_focus  before raising a window during an alt-tab.

I've used the raise_on_focus property to determine if an alt-tab should raise the window. It's easy to add another property if that's a better way to go, but there's already a lot of them and I didn't want to add yet another. 
Let me know if this causes any issues or if there's a better way.
Comment 2 Olivier Fourdan editbugs 2011-12-07 14:25:17 CET
Thanks for the patch, technically it makes sense, but I still believe users expect alt-tab to focus the window *and* make raise it, independently of the settings.

I don't see this going upstream tbh.
Comment 3 Git Bot editbugs 2020-05-29 11:37:18 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/5.

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 #3274

Reported by:
Xavier Otazu
Reported on: 2007-05-23
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
0 users



Additional information