1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00
picom/.github
Yuxuan Shui 37ecb4b496
core: detect screen off
Use the DPMS extension to detect if screen is turned off, and unredirect
if it is. This also helps working around the problem where OpenGL
buffers lose data when screen is turned off, causing screen to flicker
later when it turns back on if use-damage is enabled.

Unfortunately the DPMS extension doesn't define an event, so we have to
periodically poll the screen state.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-12-19 08:52:18 +00:00
..
workflows core: detect screen off 2022-12-19 08:52:18 +00:00
issue_template.md issue_template: suggest uploading OpenGL traces 2022-08-12 11:19:47 +01:00
pull_request_template.md github: add PR template 2020-03-06 09:19:14 +00:00