add explanation about why we try to re-apply the gamma LUT on output changes
This commit is contained in:
parent
9694477b2f
commit
e7e84b1083
2
dwl.c
2
dwl.c
@ -2596,6 +2596,8 @@ updatemons(struct wl_listener *listener, void *data)
|
|||||||
if ((c = focustop(m)) && c->isfullscreen)
|
if ((c = focustop(m)) && c->isfullscreen)
|
||||||
resize(c, m->m, 0);
|
resize(c, m->m, 0);
|
||||||
|
|
||||||
|
/* 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;
|
m->gamma_lut_changed = 1;
|
||||||
config_head->state.enabled = 1;
|
config_head->state.enabled = 1;
|
||||||
config_head->state.mode = m->wlr_output->current_mode;
|
config_head->state.mode = m->wlr_output->current_mode;
|
||||||
|
Loading…
Reference in New Issue
Block a user