-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't try to refocus on an app of the same client. #3714
Don't try to refocus on an app of the same client. #3714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WFM!
if (can_activate_window_for_session_in_workspace(application, workspaces_containing_window)) | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlanGriffiths this was here since you introduced MirAL… 8 years ago…
Can you comment on whether you're OK with this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like only yesterday!
With what I now know about window management, it just looks wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other uses for this function are suspect too: the idea of a "focussed session" was probably a mistake. But changing that is likely to unravel too much at this time
if (can_activate_window_for_session_in_workspace(application, workspaces_containing_window)) | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like only yesterday!
With what I now know about window management, it just looks wrong.
Fixes #3309
Note that this bug only occurs with apps that can have multiple windows running under the same process (example: gnome-terminal, pluma)