XLibre Xserver
Go to file
Enrico Weigelt, metux IT consult de636d491b Xext: vidmode: tidy up multi-version request control flow, part 3
Some requests using different structs dependending on which protocol version
(v1 vs. v2) had been selected. That's is handled by coverting v1 structs into v2,
before proceeding with the actual handling.

The code flow of this is very complex and hard to understand. Cleaning this up
in several smaller steps, that are easier to digest.

This part moves the request payload structs (or pointers to them) into the
per-version branches. Within each branch following our usual scheme for
extension request handlers (eg. using the REQUEST*() macros and having a
pointer named `stuff` to the current request struct)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:44 +02:00
.gitlab-ci ci: Install XCB dependencies for meson tests 2025-02-26 09:57:07 +01:00
Xext Xext: vidmode: tidy up multi-version request control flow, part 3 2025-06-12 17:21:44 +02:00
Xi Xi: use static reply struct init on declaration 2025-06-12 17:21:44 +02:00
composite composite: simplify dispatcher 2025-06-12 17:21:44 +02:00
config linux: Fix BUS_PLATFORM detection for non-PCI devices 2025-02-07 15:10:17 +00:00
damageext damageext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
dbe dbe: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
dix dix: protect from allocation failure 2025-06-12 17:21:43 +02:00
doc dix: unexport and document ClientSignal() 2025-06-12 16:17:49 +02:00
dri3 dri3: simplify dispatcher 2025-06-12 17:21:44 +02:00
exa exa: protect from allocation failure 2025-06-12 17:21:43 +02:00
fb fb: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
glamor glamor: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
glx glx: drop unused include of colormapst.h 2025-06-12 17:21:43 +02:00
hw xwayland: protect from memory allocation failure 2025-06-12 17:21:44 +02:00
include os.h: drop obsolete xallocarray() 2025-06-12 17:21:44 +02:00
man os: drop self-limiting resources 2025-06-12 16:31:57 +02:00
mi mi: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
miext miext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
os os: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
present dix: make LEGAL_NEW_RESOURCE() macro private 2025-06-12 17:21:43 +02:00
pseudoramiX pseudoramiX: drop swapping request length fields 2025-02-06 22:28:49 +00:00
randr randr: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
record record: protect from memory allocation failure 2025-06-12 17:21:43 +02:00
render render: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
test test: Xi: make sure client swapped flag is reset 2025-06-12 17:21:44 +02:00
xfixes xfixes: XFixesSelectCursorInput() use calloc() 2025-06-12 17:21:44 +02:00
xkb xkb: xkbgeom.h: drop stale forward declarations 2025-06-12 17:21:44 +02:00
.appveyor.yml appveyor: Add libxcvt build dep 2021-11-04 13:03:25 +00:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.git-blame-ignore-revs Ignore the coding style change commit during git blame 2024-12-06 09:55:53 +10:00
.gitignore Clean up the .gitignore file 2024-01-12 00:50:24 +00:00
.gitlab-ci.yml ci: fix missing runner tag on FreeBSD jobs after gitlab migration 2025-04-01 18:02:55 +00:00
.mailmap Update mailmap for Peter Harris 2025-04-15 13:49:13 -04:00
.travis.yml travis: Add OSX meson build to matrix 2019-05-02 15:42:58 +00:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00
meson_options.txt os: drop SUN-DES-1 authentication 2024-06-18 00:52:11 +00:00
xorg-server.m4 xorg-server.m4: just all cflags instead of just sdkdir 2018-09-20 20:12:24 +01:00
xorg-server.pc.in pkgconfig files: Add URL 2025-03-09 07:32:28 +00:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct