diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 22:17:48 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 22:17:48 -0600 |
commit | e7e84b10837424ea6d969afa239944ea53d16b14 (patch) | |
tree | b4baec8484eea8194a1b3bb5d9b93810fec53472 | |
parent | 9694477b2ffe84a83207c16b805eccf0a9f6aa34 (diff) |
add explanation about why we try to re-apply the gamma LUT on output changes
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2596,6 +2596,8 @@ updatemons(struct wl_listener *listener, void *data) if ((c = focustop(m)) && c->isfullscreen) 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; config_head->state.enabled = 1; config_head->state.mode = m->wlr_output->current_mode; |