stefan11111
e6a0fa4b0c
Treewide: Fix typos
...
Signed-off-by: Diego Viola <diego.viola@gmail.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2134 >
----------------------------------------------------------------------------
This commit is the result of `git apply commit.diff --reject`
applied on e8f4522312
67c82078fe does not
apply to Xlibre
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-03-16 13:11:07 +01:00
Enrico Weigelt, metux IT consult
69d57bcf52
Xext: move over public SDK headers to include/
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-12 19:00:42 +01:00
Enrico Weigelt, metux IT consult
7275b5409f
Xext: dri2: move over public SDK header to include/
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-12 15:36:07 +01:00
Enrico Weigelt, metux IT consult
54c996274f
dri2: fix declaration after label error (*BSD)
...
BSD compilers dont like declarations directly following labels
(eg. within a switch/case statement), thus we need to scrope those.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 17:31:45 +01:00
Enrico Weigelt, metux IT consult
4bda7ecaa0
dri2: declare variables where needed in DRI2GetDrawable()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 16:01:44 +01:00
Enrico Weigelt, metux IT consult
107b55d772
Xext: replace DDXPoint by xPoint
...
DDXPoint is just an alias to xPoint
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 16:00:04 +01:00
Enrico Weigelt, metux IT consult
95b9bf6dc3
dri2: declare variables where needed in DRI2Authenticate()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 13:24:26 +01:00
Enrico Weigelt, metux IT consult
755444e11b
xf86bigfont: add comment on including fontstruct.h
...
Document that this particular include is just a workaround for
a bug in libxfont2.h, which forgot to include this header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 12:30:59 +01:00
Enrico Weigelt, metux IT consult
07b917d6a5
dri2: replace our own xf86DrvMsg() macro by LogMessage()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 12:30:38 +01:00
Enrico Weigelt, metux IT consult
c721bb59c8
dri2: declare variables where needed in DRI2AllocateDrawable()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 12:30:02 +01:00
Enrico Weigelt, metux IT consult
17aec8555e
dri2: declare variables where needed in DRI2CreateDrawable2()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 12:29:57 +01:00
Enrico Weigelt, metux IT consult
6b083ca9bc
dri2: declare variables when used in DRI2DrawableGone()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 12:29:49 +01:00
Enrico Weigelt, metux IT consult
bb458432fb
dri2: clean up devprivates access macros
...
* remove unnecessary extra define's
* move the accessor into a static inline function
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 11:30:29 +01:00
Enrico Weigelt, metux IT consult
3cd1e0865d
dri2: declare variables when needed in find_attachment()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 11:28:15 +01:00
Enrico Weigelt, metux IT consult
24f0d145e1
dri2: declare variables where needed in DRI2SwapBuffers()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 11:11:36 +01:00
Enrico Weigelt, metux IT consult
63eeb1ea05
dri2: declare variables where needed in DRI2GetMSC()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:37:09 +01:00
Enrico Weigelt, metux IT consult
31520b857b
dri2: declare variables where needed in DRI2Connect()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:36:59 +01:00
Enrico Weigelt, metux IT consult
03e239a823
dri2: declare variables where needed in DRI2ConfigNotify()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:36:49 +01:00
Enrico Weigelt, metux IT consult
5bbb0201f4
dri2: declare variables where needed in DRI2ScreenInit()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:36:37 +01:00
Enrico Weigelt, metux IT consult
6e3715f237
dri2: declare variables where needed in DRI2SwapComplete()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:34:18 +01:00
Enrico Weigelt, metux IT consult
18017bf848
dri2: declare variables where needed DRI2WakeClient()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:34:04 +01:00
Enrico Weigelt, metux IT consult
62cea896f8
dri2: declare variables where needed DRI2WaitMSCComplete()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:33:52 +01:00
Enrico Weigelt, metux IT consult
01f62a1b49
dri2: declare variables where needed in DRI2CanFlip()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:33:38 +01:00
Enrico Weigelt, metux IT consult
a790d65210
dri2: declare variables where needed in DRI2CopyRegion()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:33:24 +01:00
Enrico Weigelt, metux IT consult
e9b9610d45
dri2: declare variables where needed in dri2_copy_region()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:33:11 +01:00
Enrico Weigelt, metux IT consult
7cb6eb3f14
Xext: saver: rename "screen" fields to "pScreen"
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:31:30 +01:00
Enrico Weigelt, metux IT consult
b3a17fb4d1
dri2: optimize DRI2GetScreenPrime()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-10 10:05:15 +01:00
Enrico Weigelt, metux IT consult
ebe62981a6
dri2: declare variables when needed in DRI2InvalidateDrawable()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:29:11 +01:00
Enrico Weigelt, metux IT consult
f23600ee4d
dri2: declare variables when needed in update_dri2_drawable_buffers()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:28:58 +01:00
Enrico Weigelt, metux IT consult
a21c9ef420
dri2: declare variables where needed in DRI2BlockClient()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:28:31 +01:00
Enrico Weigelt, metux IT consult
654b491d58
dri2: declare variables where needed in DRI2UpdatePrime()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:28:19 +01:00
Enrico Weigelt, metux IT consult
d8db7c3908
dri2: declare variables when needed in DRI2ThrottleClient()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:28:06 +01:00
Enrico Weigelt, metux IT consult
f79a8f5f78
dri2: declare variables where needed in DRI2SwapLimit()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:27:54 +01:00
Enrico Weigelt, metux IT consult
50839192dc
dri2: declare variables where needed in do_get_buffers()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 19:27:42 +01:00
Enrico Weigelt, metux IT consult
a30b4d6fcc
Xext: damage: rename "screen" to "pScreen" in DamageExtSubtractWindowClip()
...
Better align with common naming scheme.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 14:20:04 +01:00
Enrico Weigelt, metux IT consult
c8f0ae939e
dri2: declare variables where needed in destroy_buffer()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 14:19:52 +01:00
Enrico Weigelt, metux IT consult
a63c86d463
dri2: declare variables when needed in DRI2GetScreen()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 14:19:44 +01:00
Enrico Weigelt, metux IT consult
ceb272462b
dri2: declare variables when needed in create_buffer()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-09 14:19:35 +01:00
Enrico Weigelt, metux IT consult
b39baf6a07
Xext: shape: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
...
Use the new macros to make request struct parsing / field swapping
much easier.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-06 12:03:24 +01:00
Enrico Weigelt, metux IT consult
e482321d03
Xext: sync: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
...
Use the new macros to make request struct parsing / field swapping
much easier.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-06 12:03:16 +01:00
Enrico Weigelt, metux IT consult
0343cad62a
Xext: xcmisc: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
...
Use the new macros to make request struct parsing / field swapping
much easier.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-06 11:59:43 +01:00
Enrico Weigelt, metux IT consult
7c8851daca
dri2: minor spelling fix: "screen" -> "pScreen"
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-06 11:58:47 +01:00
Enrico Weigelt, metux IT consult
2e7d7cec64
dri2: declare variables when needed in dri2WakeClient()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-06 11:58:24 +01:00
Enrico Weigelt, metux IT consult
f1fd3151ec
Xext: xv: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
...
Use the new macros to make request struct parsing / field swapping
much easier.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-05 15:26:51 +01:00
Enrico Weigelt, metux IT consult
54b9c49987
Xext: xres: ProcXResQueryClientIds() use x_rpcbuf_t
...
Use x_rpcbuf_t instead of old own "Fragments" type for payload assembly.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-03 15:45:26 +01:00
stefan11111
2ba1b0b06f
Revert 5d3490d135
...
We can't free driverNames[i], because it's part of abi,
and other drivers might give us statically-allocated strings.
Fixes : #1848
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-27 19:15:50 +01:00
stefan11111
fa5db91243
Xext/xvdisp.c: Add missing padding to ProcXvQueryEncodings
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-27 19:15:27 +01:00
Enrico Weigelt, metux IT consult
080413fe1f
Xext: damage: DamageExtSetCritical() replace Bool by bool
...
Prefer C standard stdbool over Xlib's own type.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-22 08:58:36 +01:00
Aggelos Tselios
2683973d51
Xext: namespace: Allow using tabs as delimeters
...
Allow the parseLine() function to use tabs alongside spaces to separate
tokens. Without this patch, using tabs in the config file actually
confuses the parser and makes it think that the tab is part of the
option's name.
Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com >
2026-01-22 08:57:15 +01:00
Aggelos Tselios
f9ddcbd9ae
Xext: namespace: Properly document parseLine() function
...
The previous comment made no sense. Add a proper comment to document the
function instead.
Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com >
2026-01-22 08:57:15 +01:00