-
Notifications
You must be signed in to change notification settings - Fork 22
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 by Bors] - Automate reloading display configuration #122
Conversation
7f1ebee
to
03a2c7b
Compare
03a2c7b
to
2518dce
Compare
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.
Upgrading from stable
to edge/pr122
does not populate the display
variable, because the file doesn't have the DO NOT EDIT…
header.
(Sh|C)ould we, if the file does exist, snapctl set display=
its contents on refresh? Or on startup?
I suspect the reason is that the file exists ( |
No |
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.
Noice!
bors merge too |
This allows Frame to handle display reconfiguration without a restart. Features: 1. If there is no `display` option set, then when Frame runs it is set to a default 2. When the `display` option is set: 2.1. With Miral < 3.8 Frame is restarted and will load the new display configuration 2.2. With Miral 3.8 Frame is not restarted and will attempt to reload 3. When the display option is unset, the configuration is cleared and Frame restarted Note: there is (still) no validation of the configuration being set Fixes: #20
Pull request successfully merged into main. Build succeeded: |
This allows Frame to handle display reconfiguration without a restart.
Features:
display
option set, then when Frame runs it is set to a defaultdisplay
option is set:2.1. With Miral < 3.8 Frame is restarted and will load the new display configuration
2.2. With Miral 3.8 Frame is not restarted and will attempt to reload
Note: there is (still) no validation of the configuration being set
Fixes: #20