Add option to limit raise-together to current display#577
Open
timheide wants to merge 1 commit into
Open
Conversation
When raising tiled windows together, users can now scope the behavior to tiled windows on the same monitor as the window being raised.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new preference "Limit to current display" under "Raise tiled windows together". When enabled, raising one tiled window only brings tiled windows on the same monitor to the foreground, instead of all tiled windows across the entire workspace.
Motivation / Problem
I work with multiple monitors and treat each display as a separate, independent workspace. Each monitor has its own layout and its own set of windows, and mentally I don't group windows across displays. For me they belong to different "units" of work.
With the current "Raise tiled windows together" behavior, clicking a tiled window on one monitor raises all tiled windows on the current workspace, including those on other monitors. On GNOME Shell, workspaces span all displays, so this effectively restores a kind of global layout across every monitor at once.
That feels confusing in practice: windows that have no meaningful relationship to each other (because they live on different displays) are raised together, which breaks the mental model of monitors as separate work areas.
Solution
This PR adds an optional sub-setting that scopes raise-together to the current display only where the window being raised is located. Tiled windows on other monitors are left as they are.
The original behavior is unchanged by default (
raise-together-current-monitor-onlydefaults tofalse), so existing users keep the current all-monitors behavior unless they explicitly opt in.Behavior
Testing
I Tested on GNOME Shell 46 (Wayland) with three active monitors
Raise together on + limit on: only tiled windows on the same display are raised
Raise together on + limit off: all tiled windows are raised (unchanged default behavior)
Raise together off: sub-switch is disabled; windows raise independently