aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index c52b3094..7d7057e1 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -32,6 +32,8 @@ struct sway_output {
int lx, ly; // layout coords
int width, height; // transformed buffer size
enum wl_output_subpixel detected_subpixel;
+ // last applied mode when the output is DPMS'ed
+ struct wlr_output_mode *current_mode;
bool enabled, configured;
list_t *workspaces;