output: reapply output config when fixed modes change

Listen to the signal `available_modes` which indicates that an output
has changed its set of available fixed modes, and reapply the output
config.
This commit is contained in:
Daniel Playfair Cal 2021-01-07 23:44:43 +11:00
parent 661cdac2d6
commit 3eb9cf4a45
2 changed files with 14 additions and 0 deletions

View file

@ -44,6 +44,7 @@ struct sway_output {
struct wl_listener destroy;
struct wl_listener commit;
struct wl_listener mode;
struct wl_listener available_modes;
struct wl_listener present;
struct wl_listener damage_destroy;
struct wl_listener damage_frame;