Commit Graph

22688 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
62b0add858 mi: move ValidateRec to mi_priv.h and rename to MiValidateRec
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 18:27:41 +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
673ad0822b meson: move strlcat() and strlcpy() detection into os/meson.build
That's OS specific, and the fallback implementations are in os/,
so it's better to also move the detection there.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 16:16:49 +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
0c2289ce0c mi: drop including dix-config.h from headers
It needs to be included from the very top of source files anyways,
should not be done from individual headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 16:01:20 +01:00
Enrico Weigelt, metux IT consult
ca79ea5f20 miext: 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:01:13 +01:00
Enrico Weigelt, metux IT consult
5e99813293 fb: 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:01:08 +01:00
Enrico Weigelt, metux IT consult
467ab020ab render: 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:46 +01:00
Enrico Weigelt, metux IT consult
56b683cd4e kdrive: 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:33 +01:00
Enrico Weigelt, metux IT consult
967e18c987 xquartz: 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:19 +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
04e45edf6c exa: 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 15:59:43 +01:00
Enrico Weigelt, metux IT consult
b7e1858e4f xwin: 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 15:59:35 +01:00
Enrico Weigelt, metux IT consult
e134e4d7fd xfree: 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 15:59:27 +01:00
Enrico Weigelt, metux IT consult
1f611b8852 glamor: 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 15:59:20 +01:00
Enrico Weigelt, metux IT consult
cff61f6fe6 doc: 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 15:59:08 +01:00
Enrico Weigelt, metux IT consult
4a197db30d composite: 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 15:59:01 +01:00
Enrico Weigelt, metux IT consult
294d91e409 include: 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 15:58:55 +01:00
Aggelos Tselios
92604954f8 Xi: Drop unused parameters from DeliverTouchEmulatedEvent
The parameters client and mask are set within the function, but
otherwise unused, so there's no reason to pass them in the first place.
Since this is a static function, ABI remains unaffected.

Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com>
2026-02-10 13:35:32 +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
bfa074f066 xwin: drop dead XWIN_XF86CONFIG code pathes
These never seemed to be actually active, ever. Since nobody ever seemed
to have an actual desire to use an xf86-style config file for Xwin,
let's just drop all that ancient dead code.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 13:24:19 +01:00
Enrico Weigelt, metux IT consult
ac568d017d test: drop unncessary include of dix-config.h from headers
This header needs to be included at the top of source files,
should not be done from other headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 13:23:59 +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
7b930592e6 xfixes: drop including dix-config.h
All xserver sources need to include it at the very top anyways, so
no need to clutter public SDK headers with extra complexity.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 12:30:31 +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
1fa1ec50a3 mi: drop ifdef on obsolete DAMAGE symbol
It's always set by meson.build and planned to be removed entirely.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 11:52:19 +01:00
Enrico Weigelt, metux IT consult
e1dc65bdf0 os: drop ifdef NO_PART_NET code path
This symbol is never defined, so that code path isn't needed.
Disabling "partial network" (thus, not arborting when not all
requested interfaces can't be bound) can be done via command line.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 11:48:42 +01:00
Enrico Weigelt, metux IT consult
75c751dd92 include: drop including dix-config.h
All xserver sources need to include it at the very top anyways, so
no need to clutter public SDK headers with extra complexity.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 11:48:39 +01:00
Enrico Weigelt, metux IT consult
e835d2a000 xwin: glx: fix VLA issue
We don't wanna use VLAs, because they're inherently unsafe.
Since the values[] array can never be bigger than attrs,
just use attr's size here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 11:47:39 +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
baaf408471 composite: rename "screen" fields to "pScreen"
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 10:32:56 +01:00
Enrico Weigelt, metux IT consult
a66df170ff Xi: rename "screen" fields to "pScreen"
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 10:32:35 +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