monitor-manager: Remove is_dirty from MetaCrtc and MetaOutput

It was used during configuration to ensure that we always dealt with
every output and CRTC. Do this without polluting the MetaOutput and
MetaCrtc structs with intermediate variables not used by the
corresponding types themself.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
This commit is contained in:
Jonas Ådahl
2020-02-25 16:54:20 +01:00
committed by Georges Basile Stavracas Neto
parent 55719afcbf
commit 9186b6d6b0
8 changed files with 62 additions and 94 deletions

View File

@ -89,9 +89,6 @@ struct _MetaOutput
int backlight_min;
int backlight_max;
/* Used when changing configuration */
gboolean is_dirty;
gboolean is_primary;
gboolean is_presentation;