mirror of
https://github.com/swaywm/sway.git
synced 2026-06-15 14:33:54 -04:00
config: Force modeset before running deferred configs
Some commands require outputs to be enabled. These commands are deferred to allow outputs to be discovered, but the delayed modeset might only run some time later. Force a modeset to occur before running deferred commands. Fixes: https://github.com/swaywm/sway/issues/8433
This commit is contained in:
parent
96db66abf0
commit
6111297d91
3 changed files with 11 additions and 5 deletions
|
|
@ -361,6 +361,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
config->active = true;
|
||||
force_modeset();
|
||||
load_swaybars();
|
||||
run_deferred_commands();
|
||||
run_deferred_bindings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue