picom/src
Yuxuan Shui d757d45d1e
picom: make sure --diagnostics works when another picom is running
Currently picom fails at register_cm(), which is before
print_diagnostics(), so we don't see anything.

This commit makes sure we keep going when there is another compositor
already running. However, in this case we need to be careful to not take
the overlay window, otherwise a poorly implemented compositor (for
example, picom) will stop working.

Also restructured the target window initialization logic and added some
comments explaining the logic.

Fixes #333
2020-03-11 19:15:26 +00:00
..
backend glx: make sure the context is really destroyed 2020-03-07 20:06:25 +00:00
atom.c Untangle headers 2019-08-10 00:56:26 +01:00
atom.h Partially handle _NET_WM_BYPASS_COMPOSITOR 2020-01-18 18:02:41 +00:00
c2.c x: trivial function renames 2020-01-18 17:26:53 +00:00
c2.h win: split struct win 2019-05-21 20:15:29 +01:00
cache.c Untangle headers 2019-08-10 00:56:26 +01:00
cache.h cache: cache_get can now return error 2019-05-21 20:15:33 +01:00
common.h Add time uniform to old glx glsl shaders (#330) 2020-03-10 07:29:38 +00:00
compiler.h compiler.h: also check threads.h exists 2019-12-24 12:04:04 +00:00
config.c Add support for documented `--blur-*` options 2020-01-17 16:25:02 +01:00
config.h backend: allow transparent windows to clip other windows 2019-11-30 21:29:07 +00:00
config_libconfig.c Rename wintype "notify" to "notification" 2020-03-07 12:15:14 +00:00
dbus.c parameterize max brightness limit 2019-11-09 17:56:38 +02:00
dbus.h win: split struct win 2019-05-21 20:15:29 +01:00
diagnostic.c picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00: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 Partially handle _NET_WM_BYPASS_COMPOSITOR 2020-01-18 18:02:41 +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 kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
kernel.h kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
list.h event: handle reparent to the same parent 2019-05-21 20:15:32 +01:00
log.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
log.h log: add log_error_errno 2020-02-26 20:16:55 +00:00
meson.build picom: Drop libxdg-basedir 2020-02-25 18:18:19 +02:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c Add time uniform to old glx glsl shaders (#330) 2020-03-10 07:29:38 +00:00
opengl.h rename: replace "compton" in the codebase 2019-10-23 20:24:20 +01:00
options.c Add support for documented `--blur-*` options 2020-01-17 16:25:02 +01:00
options.h options: reject invalid backend earlier 2019-11-10 05:03:17 +00:00
picom.c picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00:00
picom.h picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +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 Untangle headers 2019-08-10 00:56:26 +01:00
render.h win: split struct win 2019-05-21 20:15:29 +01:00
string_utils.c Add some unittests 2019-05-21 20:15:22 +01:00
string_utils.h Eliminate implicit conversions 2019-05-21 20:15:25 +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 implement bright window dimming 2019-11-09 17:54:57 +02:00
utils.h implement bright window dimming 2019-11-09 17:54:57 +02: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: handle shadow image errors more gracefully 2020-02-07 21:35:34 +00:00
win.h Partially handle _NET_WM_BYPASS_COMPOSITOR 2020-01-18 18:02:41 +00:00
win_defs.h win_defs.h: fix #240 2019-09-25 09:47:36 -03:00
x.c x: trivial function renames 2020-01-18 17:26:53 +00:00
x.h x: trivial function renames 2020-01-18 17:26:53 +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