picom/src
Yuxuan Shui a826e0ce79
Window state tracking refactor
Window state tracking is basically the back bond of window fading. We
add a new enum field to the win struct to track the state of the window,
instead of using a set of boolean variables. We also remove the fading
callbacks, since it is only used for fading, so the potential of code
reuse is lost. And it makes the code slightly harder to understand.

Also fixed a problem that --no-fading-openclose is not behaving as
advertised (from my observation, enabling this flag disables fading
entirely, instead of just diabling it for open/close).

Also uses double for opacity everywhere internally. Use opacity_t only
when setting X opacity prop.

TODO: Remove win::*_last

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-02-17 16:37:28 +00:00
..
backend Window state tracking refactor 2019-02-17 16:37:28 +00:00
c2.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
c2.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
common.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
compiler.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
compton.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
compton.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
compton.modulemap log.h needs to export compiler.h 2019-02-13 04:18:32 +00:00
config.c Parse number locale-independently 2019-02-02 01:28:15 +00:00
config.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
config_libconfig.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
dbus.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
dbus.h Remove a couple of unwanted options 2018-12-20 23:44:38 +00:00
diagnostic.c Make get_early_config even earlier 2019-02-07 22:45:44 +00:00
diagnostic.h Make get_early_config even earlier 2019-02-07 22:45:44 +00:00
err.h Failure of config file parsing is a hard failure 2019-02-13 02:05:01 +00:00
kernel.c Improve the header includes, cont'd 2019-01-20 17:10:06 +00:00
kernel.h Speed up shadow generation for small windows 2019-01-01 11:35:59 +00:00
log.c Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
log.h trace/debug logs are unlikely 2019-02-13 04:11:41 +00:00
meson.build Refactor the XSync fence code 2018-12-30 07:06:47 +00:00
opengl.c Fix some clang-analyzer complains 2019-02-13 04:23:54 +00:00
opengl.h Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
options.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
options.h Fork as early as possible 2019-02-08 01:33:42 +00:00
region.h Even more includes 2019-01-20 22:09:22 +00:00
render.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
render.h Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
string_utils.c Fix compiling on older gcc 2019-02-02 02:12:08 +00:00
string_utils.h Parse number locale-independently 2019-02-02 01:28:15 +00:00
types.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
utils.c Even more includes 2019-01-20 22:09:22 +00:00
utils.h Refactor FBConfig lookup 2019-02-03 18:41:47 +00:00
vsync.c Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
vsync.h Move rendering related functions out of compton.c 2018-12-16 00:50:46 +00:00
win.c Window state tracking refactor 2019-02-17 16:37:28 +00:00
win.h Window state tracking refactor 2019-02-17 16:37:28 +00:00
x.c Prevent GL/glx.h from defining prototypes 2019-02-09 00:43:31 +00:00
x.h Wrap root window background prop check 2019-02-07 00:34:48 +00:00
xrescheck.c Convert printf_errf/dbgf in several files 2018-12-20 16:54:51 +00:00
xrescheck.h Sort out license problems 2018-10-03 22:14:51 +01:00