1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-21 18:03:02 -04:00
picom/src
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
..
backend backend: xrender: fix using of invalid picture when vsync is disabled 2022-12-18 19:24:16 +00:00
atom.c x: remove the last bit of Xlib dependency 2020-10-23 07:58:01 +01:00
atom.h x: remove the last bit of Xlib dependency 2020-10-23 07:58:01 +01:00
c2.c c2: replace pcre with pcre2 2022-11-22 16:12:36 +00:00
c2.h config: add options window-shader-fg and window-shader-fg-rules 2022-08-11 04:28:48 +01:00
cache.c cache: add cache_set for testing 2020-12-26 07:25:34 +00:00
cache.h cache: add cache_set for testing 2020-12-26 07:25:34 +00:00
common.h core: detect screen off 2022-12-19 08:52:18 +00:00
compiler.h c2: silence a compiler warning 2022-07-16 15:05:03 +01:00
config.c Make experimental backends the new default 2022-08-21 06:09:27 +01:00
config.h options: add dithered-present option 2022-11-30 05:33:21 +00:00
config_libconfig.c options: add dithered-present option 2022-11-30 05:33:21 +00:00
dbus.c general: fix compiler warning about unused results 2022-12-14 13:47:38 +00:00
dbus.h win: split struct win 2019-05-21 20:15:29 +01:00
diagnostic.c Rename COMPTON_VERSION to PICOM_VERSION 2022-10-29 19:31:12 +01:00
diagnostic.h picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00:00
err.h Failure of config file parsing is a hard failure 2019-02-13 02:05:01 +00:00
event.c core: expand X error handling 2022-12-14 14:23:55 +00:00
event.h core: split out event code 2019-03-23 14:35:22 +00:00
file_watch.c file_watch: don't watch special files 2020-02-26 21:11:55 +00:00
file_watch.h core: watch for configuration file changes 2019-11-10 18:58:01 +00:00
kernel.c backend: gl: use gaussian blur for shadow 2022-09-18 05:00:52 +01:00
kernel.h backend: gl: use gaussian blur for shadow 2022-09-18 05:00:52 +01:00
list.h event: handle reparent to the same parent 2019-05-21 20:15:32 +01:00
log.c general: fix compiler warning about unused results 2022-12-14 13:47:38 +00:00
log.h log: add log_error_errno 2020-02-26 20:16:55 +00:00
meson.build core: detect screen off 2022-12-19 08:52:18 +00:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c legacy glx: store tex_scr location for round corner shader 2021-04-12 01:54:07 +01:00
opengl.h legacy glx: store tex_scr location for round corner shader 2021-04-12 01:54:07 +01:00
options.c Merge pull request #952 from yshui/dither 2022-12-03 03:10:30 +00:00
options.h options: reject invalid backend earlier 2019-11-10 05:03:17 +00:00
picom.c core: detect screen off 2022-12-19 08:52:18 +00:00
picom.h core: expand X error handling 2022-12-14 14:23:55 +00:00
picom.modulemap rename: fix the name of the modulemap file 2019-10-24 19:41:35 +01:00
region.h Move resize_region to region.h 2019-07-06 13:26:25 +01:00
render.c backend: give backends more flexibility regarding shadow creation 2022-08-26 05:42:51 +01:00
render.h Rounded corners for legacy xrender backend 2020-11-30 00:35:34 +00:00
string_utils.c string_utils: add trim_both 2022-07-17 15:43:47 +01:00
string_utils.h string_utils: add trim_both 2022-07-17 15:43:47 +01:00
types.h new backend: glx: implement IMAGE_OP_APPLY_ALPHA 2019-05-21 20:15:35 +01:00
uthash_extra.h win: track windows with a hash table 2019-05-21 20:15:27 +01:00
utils.c general: fix compiler warning about unused results 2022-12-14 13:47:38 +00:00
utils.h utils: add rolling_avg 2022-12-13 14:35:26 +00:00
vsync.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c win: consider border when creating the mask image 2022-11-30 20:00:46 +03:00
win.h Exclude transparent-clipping-excluded windows from updating the ignored region 2022-10-23 23:28:26 +01:00
win_defs.h event, win: delayed handling of shape notify 2020-10-23 04:37:38 +01:00
x.c x: fix missing _checked 2022-12-18 19:23:06 +00:00
x.h core: expand X error handling 2022-12-14 14:23:55 +00:00
xrescheck.c Run clang-format 2019-03-10 12:35:38 +00:00
xrescheck.h Run clang-format 2019-03-10 12:35:38 +00:00