mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Move the actual body of WriteToClient() into a new internal worker dixWriteToClient() and turn WriteToClient() into a thin exported frontend that just delegates to it. This separates the two roles the function had: the exported, legacy entry point kept for ABI compatibility with out-of-tree drivers/modules, and the worker used by all in-tree reply/event paths. In-tree callers will be moved over to dixWriteToClient() in the following commits, which also lets the frontend be instrumented later without affecting internal paths. dixWriteToClient() is declared in the private os/io_priv.h but still exported (_X_EXPORT), since in-tree modules that may be built as separate shared objects (e.g. GLX) need to link against it. The xi1/xi2 protocol unit tests intercept the reply path via -Wl,-wrap,WriteToClient. As the in-tree reply path moves onto dixWriteToClient(), retarget the linker wrap (and the WRAP_FUNCTION / wrapped_* references) to dixWriteToClient(); this also covers calls that still go through the WriteToClient() frontend, since it funnels into the same worker. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> PR: https://github.com/X11Libre/xserver/pull/3162 Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> |
||
| .. | ||
| protocol-xchangedevicecontrol.c | ||