picom/src
Yuxuan Shui 1307d9ec70
core: isolate X connection with error handling into a struct
Part of the long running effort to reduce the prevalence of `session_t`.
After this, functions that communicate with X can make use of the error
handling machinary (set_ignore_cookie, set_cant_fail_cookie) without
needing to take a `session_t` parameter.

This commit converts everything to use the new struct `x_connection`,
most of the conversions are mechanical.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2023-07-04 16:24:53 +01:00
..
backend core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
atom.c x: remove the last bit of Xlib dependency 2020-10-23 07:58:01 +01:00
atom.h atom: add atoms associated with the background pixmap 2023-06-18 14:57:50 +03:00
c2.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01: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: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
compiler.h c2: silence a compiler warning 2022-07-16 15:05:03 +01:00
config.c options: add a no-frame-pacing option 2023-06-10 14:33:57 +01:00
config.h options: add a no-frame-pacing option 2023-06-10 14:33:57 +01:00
config_libconfig.c options: add a no-frame-pacing option 2023-06-10 14:33:57 +01:00
dbus.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
dbus.h win: split struct win 2019-05-21 20:15:29 +01:00
diagnostic.c core: drop xinerama 2023-01-29 10:51:12 +03: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: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01: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 Merge remote-tracking branch 'upstream/next' into fix-event-handling 2023-06-17 01:25:12 +02:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
opengl.h opengl: fix segfault in ensure_glx_context 2023-01-12 06:40:56 +03:00
options.c options: unify unavailability reporting of some options 2023-06-16 18:36:02 +03:00
options.h options: reject invalid backend earlier 2019-11-10 05:03:17 +00:00
picom.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
picom.h core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01: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 core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
render.h core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
statistics.c core: factor out code for estimating the rendering time budget 2023-06-10 14:33:24 +01:00
statistics.h core: factor out code for estimating the rendering time budget 2023-06-10 14:33:24 +01: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 core: factor out code for estimating the rendering time budget 2023-06-10 14:33:24 +01:00
utils.h core: factor out code for estimating the rendering time budget 2023-06-10 14:33:24 +01:00
vsync.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
win.h core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
win_defs.h event, win: delayed handling of shape notify 2020-10-23 04:37:38 +01:00
x.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
x.h core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01: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