Remove internal references to DPMS

While at it, use an int for the config field, just like we do for
all other fields.
This commit is contained in:
Simon Ser 2022-06-23 21:03:32 +02:00 committed by Kirill Primak
parent 798e3c8858
commit b69d637f7a
5 changed files with 22 additions and 27 deletions

View file

@ -32,7 +32,7 @@ struct sway_output {
int width, height; // transformed buffer size
enum wl_output_subpixel detected_subpixel;
enum scale_filter_mode scale_filter;
// last applied mode when the output is DPMS'ed
// last applied mode when the output is powered off
struct wlr_output_mode *current_mode;
bool enabling, enabled;