picom/src
Maxim Solovyov 986b3c1cb3
core: drop xinerama
there are two x extensions for working with monitors (especially
multiple): xinerama and randr. xinerama is old, feature-poor and in
general isn't used anymore compared to the randr: new, feature-rich and
widely-used. for some reason we were using both of them, so let's drop
xinerama to keep things simple, clean and small. and to be modern.

the drop was done in three steps:
* first step was to replace all the xinerama-based code with the
  randr-based one and to replace or remove all the xinerama mentions;
* second step was to replace the xinerama's terminology with the
  randr's one. xinerama was referring only to the word "screen", while
  randr refers to multiple words and i think the word "monitor" is the
  most suitable for us and, hopefully, clear both to a contributor and
  to an end user;
* third step was to refactor the new randr-based code if needed and to
  address related todo's (mostly about moving related functions
  elsewhere).

all the steps were done well except addressing a leftover todo about
moving the win_update_monitor function to the x.c which wasn't done.

the xinerama-shadow-crop option was renamed to crop-shadow-to-monitor,
but it's previous name is still accepted, has effect and the
deprecation message is printed to preserve backwards-compatibility.
2023-01-29 10:51:12 +03:00
..
backend core: drop xinerama 2023-01-29 10:51:12 +03: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: drop xinerama 2023-01-29 10:51:12 +03:00
compiler.h c2: silence a compiler warning 2022-07-16 15:05:03 +01:00
config.c core: drop xinerama 2023-01-29 10:51:12 +03:00
config.h core: drop xinerama 2023-01-29 10:51:12 +03:00
config_libconfig.c core: drop xinerama 2023-01-29 10:51:12 +03:00
dbus.c core: drop xinerama 2023-01-29 10:51:12 +03: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: drop xinerama 2023-01-29 10:51:12 +03: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: drop xinerama 2023-01-29 10:51:12 +03: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 opengl: fix segfault in ensure_glx_context 2023-01-12 06:40:56 +03:00
options.c core: drop xinerama 2023-01-29 10:51:12 +03:00
options.h options: reject invalid backend earlier 2019-11-10 05:03:17 +00:00
picom.c core: drop xinerama 2023-01-29 10:51:12 +03:00
picom.h core: drop xinerama 2023-01-29 10:51:12 +03: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: drop xinerama 2023-01-29 10:51:12 +03: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 core: drop xinerama 2023-01-29 10:51:12 +03:00
win.h core: drop xinerama 2023-01-29 10:51:12 +03:00
win_defs.h event, win: delayed handling of shape notify 2020-10-23 04:37:38 +01:00
x.c core: drop xinerama 2023-01-29 10:51:12 +03:00
x.h core: drop xinerama 2023-01-29 10:51:12 +03: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