diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2024-11-11 12:16:44 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-11-28 20:40:17 +0100 |
| commit | 27d4f15516c15599d61e45602e9698ca1532e64e (patch) | |
| tree | 4a458dfeb00042d0d6156e85159a7c682b94ca18 /include | |
| parent | 14ac15f0c90aa9102613333bc9847449ffd98de4 (diff) | |
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
(cherry picked from commit 6111297d91faf5f2820acaa14d76d6389b469b77)
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 71721393..013853c8 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -705,6 +705,7 @@ struct output_config *find_output_config(struct sway_output *output); void free_output_config(struct output_config *oc); void request_modeset(void); +void force_modeset(void); bool spawn_swaybg(void); |
