Files
xserver/Xext
Enrico Weigelt, metux IT consult 9ef5fc9a29 Xext: vidmode: untwist ProcVidModeGetAllModeLines() and use stack buffer
The ProcVidModeGetAllModeLines() is a bit complicated, because reply structs
differ depending the active protocol version. In order to make it easier to
understand and allow further simplification of the request/reply marshalling
(see ticket #1701), splitting the two protocol versions into separate functions.

Also collecting the whole payload in a stack buffer (size is already known
anyways), in order to save arbirary number of individual WriteToClient() calls,
but send out the whole reply in one pass, which in turn allows further
simplifications in the sending path.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:44 +02:00
..
2025-06-12 16:48:11 +02:00
2025-06-12 16:39:26 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:48:11 +02:00
2025-06-12 16:53:34 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:46:36 +02:00
2024-10-10 19:59:48 +00:00