xserver/xfixes
Enrico Weigelt, metux IT consult 5c09c89903 xfixes: canonicalize reply structures
Canonicalize all reply structs onto stack allocation and static
initialization, like already done in most other extension. So make
the code easier to understand and allow further simplifications by
subsequent commits (we can then use generic macros for doing the
actual sending, as well as byteorder swapping, size computation, etc),
Also gaining a little bit efficiency by skipping some heap allocations.

Dynamically sized payload buffers (where the upper bound isn't known),
are still allocated on heap.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:44 +02:00
..
cursor.c xfixes: canonicalize reply structures 2025-06-12 17:21:44 +02:00
disconnect.c xfixes: canonicalize reply structures 2025-06-12 17:21:44 +02:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c xfixes: canonicalize reply structures 2025-06-12 17:21:44 +02:00
saveset.c xfixes: simplify dispatcher 2025-06-12 17:21:44 +02:00
select.c xfixes: simplify dispatcher 2025-06-12 17:21:44 +02:00
xfixes.c xfixes: simplify dispatcher 2025-06-12 17:21:44 +02:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h xfixes: simplify dispatcher 2025-06-12 17:21:44 +02:00