XLibre Xserver
Go to file
Enrico Weigelt, metux IT consult ad6c086e12 (submit/cleanup-vidmode-dispatch) Xext: vidmode: tidy up multi-version request control flow, part 2
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 is splitting the huge request handlers into upper and lower half,
where the upper is doing the version check and converting v1 requests into v2,
while the lower one is doing the actual request processing, operating on the
struct pointer passed in from the upper one, instead of the client struct's
request buffer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-08-29 20:51:20 +02:00
.gitlab-ci ci: fix w64 cross build pkg-config path 2024-08-23 15:42:21 +02:00
Xext (submit/cleanup-vidmode-dispatch) Xext: vidmode: tidy up multi-version request control flow, part 2 2024-08-29 20:51:20 +02:00
Xi (submit/fixup-req-len) Xi: drop now obsolete swap procs 2024-08-29 20:51:20 +02:00
composite (submit/fixup-req-len) composite: drop swapping request length fields 2024-08-29 20:51:19 +02:00
config treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00
damageext (submit/fixup-req-len) damage: drop swapping request length fields 2024-08-29 20:51:19 +02:00
dbe (submit/fixup-req-len) dbe: drop now obsolete swap procs 2024-08-29 20:51:20 +02:00
dix (submit/vrr-driver-api) dix: add generic Xinerama capable VRR infrastructure 2024-08-29 20:51:20 +02:00
doc (!1502) doc: drop removed functions from the Xserver spec 2024-08-29 20:51:19 +02:00
dri3 (submit/recv-fds) os: read file descriptors into client struct at once 2024-08-29 20:51:20 +02:00
exa Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
fb render: move private definitions out of public glyphstr.h 2024-03-03 22:54:16 +00:00
glamor treewide: mark pGC->ops->CopyArea() calls not using result as void 2024-08-26 03:44:23 +00:00
glx (submit/glx-cleanups-vla) glx: DoQueryContext(): use core's swapping macros 2024-08-29 20:51:19 +02:00
hw (submit/xquartz-unused-code) xquartz: drop unused code 2024-08-29 20:51:20 +02:00
include (submit/vrr-driver-api) dix: add generic Xinerama capable VRR infrastructure 2024-08-29 20:51:20 +02:00
man Xserver.man: Note that -byteswappedclients is the default in this release 2024-03-23 10:27:03 -07:00
mi (submit/xnest-config.h) mi: drop special include hack for Xnest 2024-08-29 20:51:20 +02:00
miext os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
os (submit/recv-fds) os: read file descriptors into client struct at once 2024-08-29 20:51:20 +02:00
present (submit/fixup-req-len) present: drop swapping request length fields 2024-08-29 20:51:19 +02:00
pseudoramiX (submit/fixup-req-len) pseudoramiX: drop swapping request length fields 2024-08-29 20:51:19 +02:00
randr (submit/xrandr-swap-fix) randr: fix wrong call to RRGetScreenResources() in swapped case 2024-08-29 20:51:20 +02:00
record (submit/fixup-req-len) record: drop swapping request length fields 2024-08-29 20:51:19 +02:00
render (submit/fixup-req-len) render: drop swapping request length fields 2024-08-29 20:51:19 +02:00
test (submit/fixup-req-len) Xi: drop swapping request length fields 2024-08-29 20:51:20 +02:00
xfixes (submit/fixup-req-len) xfixes: drop swapping request length fields 2024-08-29 20:51:19 +02:00
xkb (submit/fixup-req-len) xkb: drop swapping request length fields 2024-08-29 20:51:19 +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
.gitignore Clean up the .gitignore file 2024-01-12 00:50:24 +00:00
.gitlab-ci.yml ci: fix w64 cross build pkg-config path 2024-08-23 15:42:21 +02:00
.mailmap Add a .mailmap file to canonicalize author names and emails 2023-03-15 18:10:51 +00: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 (!1654) Xnest: dont link Xlib anymore 2024-08-29 20:51:19 +02: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 xfree86: link modules against Xorg symbols on Cygwin 2012-04-05 21:57:07 -05: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