summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index d8969ba..3148072 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2599,8 +2599,7 @@ updatemons(struct wl_listener *listener, void *data)
/* Try to re-set the gamma LUT when updating monitors,
* it's only really needed when enabling a disabled output, but meh. */
m->gamma_lut_changed = 1;
- config_head->state.enabled = 1;
- config_head->state.mode = m->wlr_output->current_mode;
+
config_head->state.x = m->m.x;
config_head->state.y = m->m.y;
}