User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:188.8.131.52) Gecko/20061023 SUSE/184.108.40.206-1.1 Firefox/220.127.116.11
IMO even if focus-follows-mouse is active, a workspace switch via keyboard shortcut should remember the last active window.
Steps to Reproduce:
1. open two windows on workspace 1, make A active
2. switch to workspace 2
3. mouse mouse where window B is placed
4. switch to workspace 1
Window B is the active window
Window A should be still the active window
Oh no, I disagree. If you use focus follow mouse, you should expect to have the window under the mouse focused.
But then Alt-Tab is also not logical. :-)
Again, I disagree. This is unrelated, the purpose of alt-tab is to transfer focus, so if it did not set focus on the selected window, then that would be a bug.
Created attachment 1097
Patch that removes the focus update in focus-follow-mouse mode
BTW, the patch is trivial, but it doesn't make sense. It's up to you to convince me to appy this on trunk ;-)
Well, my use case is having a chat window on another desktop and switch to that desktop via keyboard, write some words in the chat and switch back to do real work. Without having to move my mouse.
Maybe I should use click-to-focus again. I have to think about this more. Maybe a hidden option in the rc file (I know, everybody doesn't like too much options).
... Or, last option, use the patch for your own use ;-)