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.
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.
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.
-- 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