picom/src/backend/xrender
Yuxuan Shui 2d98518b7d
backend: give images a type
It's quite confusing what should be passed into what because too many
things are `void *`. So give images a type to make things a bit clearer.
Because of C's limited type system, we lose the ability to annotate them
as nonnull or const, well you win some you lose some.

Also while doing this I noticed error handling around this is a bit
lacking.

Co-authored-by: Maxim Solovyov <msolovyov@protonmail.com>
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-15 13:48:47 +00:00
..
xrender.c backend: give images a type 2024-02-15 13:48:47 +00:00