aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-06-23 21:03:32 +0200
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2022-07-04 21:58:24 +0300
commitb69d637f7a34e239e48a4267ae94a5e7087b5834 (patch)
tree63e33a9a15a08c5ebe9bf68183a10bad86997ce7 /include/sway/config.h
parentconfig.in: switch to `output power` (diff)
downloadsway-b69d637f7a34e239e48a4267ae94a5e7087b5834.tar.gz
sway-b69d637f7a34e239e48a4267ae94a5e7087b5834.tar.zst
sway-b69d637f7a34e239e48a4267ae94a5e7087b5834.zip
Remove internal references to DPMS
While at it, use an int for the config field, just like we do for all other fields.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 2b4aa972..68c06846 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -247,12 +247,6 @@ struct seat_config {
247 } xcursor_theme; 247 } xcursor_theme;
248}; 248};
249 249
250enum config_dpms {
251 DPMS_IGNORE,
252 DPMS_ON,
253 DPMS_OFF,
254};
255
256enum scale_filter_mode { 250enum scale_filter_mode {
257 SCALE_FILTER_DEFAULT, // the default is currently smart 251 SCALE_FILTER_DEFAULT, // the default is currently smart
258 SCALE_FILTER_LINEAR, 252 SCALE_FILTER_LINEAR,
@@ -274,6 +268,7 @@ enum render_bit_depth {
274struct output_config { 268struct output_config {
275 char *name; 269 char *name;
276 int enabled; 270 int enabled;
271 int power;
277 int width, height; 272 int width, height;
278 float refresh_rate; 273 float refresh_rate;
279 int custom_mode; 274 int custom_mode;
@@ -290,7 +285,6 @@ struct output_config {
290 char *background; 285 char *background;
291 char *background_option; 286 char *background_option;
292 char *background_fallback; 287 char *background_fallback;
293 enum config_dpms dpms_state;
294}; 288};
295 289
296/** 290/**