Repository navigation
Handle inactive monitors better #447
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
1ea364c
Add gschema
leonardo-lemos 762da1f
Implement MonitorLayoutManager
leonardo-lemos dd6c098
Use MonitorLayoutManager
leonardo-lemos b2c0ff1
Fix build
leonardo-lemos 36dd686
Merge branch 'main' into introduce-layout-manager
leonardo-lemos 441b280
Notify monitor number change only once
leonardo-lemos 12a1a02
Show display label only once
leonardo-lemos f860515
Rescan Displays only if monitors changed
leonardo-lemos 6712461
Add display transformation saving
leonardo-lemos 756c165
Removed unused variable
leonardo-lemos 26bcac8
Merge branch 'main' into introduce-layout-manager
zeebok 756431b
Merge branch 'main' into introduce-layout-manager
jeremypw 3690b20
Drop unnecessary check
jeremypw e43a21c
Reduce scope of some functions
jeremypw a9f5d71
Simplify arrange_monitors() & get_layout_key()
jeremypw c5071c6
Lose unused object
jeremypw 0e85221
Inline simplified find_match_layout()
jeremypw a90c359
Drop hash for key
jeremypw 4442fa3
Inline build_layout_variant()
jeremypw 844dc04
Inline add_or_update_layout()
jeremypw 11ebe2c
Simplify save layout using VariantDict
jeremypw 5ee9993
Do not arrange unnecessarily in get_monitor_config()
jeremypw 1b7cdc9
Merge branch 'main' into introduce-layout-manager
jeremypw c07e6cb
Amend schema variant type to match that generated by simplified save …
jeremypw 2b27cd6
Add comment and expanded schema description
jeremypw 4d4b5b7
Fix saving and restoring layouts
jeremypw 7c7b111
Save and restore which monitor is primary
jeremypw f8633d0
Remove extraneous code
jeremypw c741f5d
Remove unused
jeremypw e0f0912
Arrange monitors after getting config to fix toggling mirror mode
jeremypw 6aaaf57
Rescan displays on monitors-changed signal to redraw after "Keep prev…
jeremypw a76d5b9
Save and restore is-active property
jeremypw fb242bc
Mention "is-active" property in schema description
jeremypw 2af8f91
Update some comments
jeremypw e444c18
Merge branch 'main' into introduce-layout-manager
jeremypw 611e65c
Merge branch 'main' into introduce-layout-manager
zeebok 7e922bc
Merge branch 'main' into introduce-layout-manager
zeebok d9ec128
Label as widget
jeremypw 9caf75f
Move inactive display widget to the side
jeremypw 20edbfa
Show inactive display widgets at side (small)
jeremypw 8bbd569
Position inactive widget correctly
jeremypw d5fe528
Different layout key when inactive monitors
jeremypw 76572be
Popdown menu when in is-active changes
jeremypw a05482d
Arrange monitors when is-active changes
jeremypw 1baebd2
Lose unneeded message
jeremypw fa97a45
Apply button sensitive after is-active change
jeremypw 5b33a64
Revert redundant change
jeremypw 44e298d
fix: Avoid trying to drag inactive displays
flodavid 1375b6f
fix: Avoid aligning and checking intersection for inactive displays
flodavid 99c832b
Use recursion level to stop aligning display, similiar to intersectio…
flodavid f81e0f1
fix: Recompute inactive display positions when activing display
flodavid 7d4c9dd
fix: Sort monitors to have predictable layout keys
flodavid e93f75e
fix: x and y position could be wrong when enabling display
flodavid 5d17110
Merge branch 'main' into testing/inactive-widget
jeremypw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
A comment there would be nice, like
Remove the dangling separator at the start