summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-16 20:58:45 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-17 11:01:30 -0600
commit6f8a3f93749aae35b863946d333043d4779d2b54 (patch)
treef52f7e21e78c4557fc4050958df0db03b1e2f7dc /util.h
parente1f3983bf8a548f0357a92d9023c90aa4c273f64 (diff)
fix screen artifacts when setting gamma
the artifacts were caused because we tried to set the gamma right after receiving the event, this resulted in two pending page-flips, which not always play well together. This also seems to fix a screen freeze when turning on a monitor that has gamma. Additionally the current method won't work once [0] is merged [0]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4423
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions