xserver/hw
Michel Dänzer cf0da4e7c8 xwayland/glamor/gbm: Don't close fence_fd after xwl_glamor_wait_fence
eglCreateSyncKHR takes ownership of the file descriptor. Noticed by
inspection.

While we're at it, move the fence_fd declaration to the scope where
it's used.

Last but not least, close the fd in xwl_glamor_wait_fence when bailing
before calling eglCreateSyncKHR, and document that it takes ownership.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1712>
(cherry picked from commit 91b5a003a5)
2026-01-25 10:39:57 -08:00
..
kdrive treewide: replace xnfcalloc() calls by XNFcallocarray() 2026-01-25 10:39:55 -08:00
vfb Xvfb: Support up to 13 mouse buttons 2024-01-08 11:16:11 +00:00
xfree86 xfree86: fbdevhw: fix pci detection on recent Linux 2026-01-25 10:39:57 -08:00
xnest include: dixfontstr.h: drop silent dependency on libxfont2 2026-01-25 10:39:56 -08:00
xquartz xquartz: drop unused code 2026-01-25 10:39:57 -08:00
xwayland xwayland/glamor/gbm: Don't close fence_fd after xwl_glamor_wait_fence 2026-01-25 10:39:57 -08:00
xwin xwin: fix memleak on freeing pixmaps 2026-01-25 10:39:57 -08:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00