xserver/Xext/composite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mason Green 73cd133bbb Xext: composite: take the pixmap reference before AddResource() on Xinerama
When AddResource() fails it calls the type's delete function, which for
pixmaps is dixDestroyPixmap() and drops one reference.

SingleCompositeNameWindowPixmap() increments pPixmap->refcnt before
AddResource(), so a failure only drops that extra reference. The Xinerama
path in ProcCompositeNameWindowPixmap() incremented it afterwards, so a
failure dropped the window's own reference to its backing pixmap and
could free it while still in use. Take the reference first, as the
single-screen path does.

Signed-off-by: Mason Green <mason@greenm01.net>
2026-10-13 13:06:14 +02:00
..
compalloc.c xext: composite: let compReallocPixmap() return bool 2026-07-23 18:49:06 +02:00
compext.c Xext: composite: take the pixmap reference before AddResource() on Xinerama 2026-10-13 13:06:14 +02:00
compinit.c xext: composite: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:24:07 +02:00
compint.h xext: composite: let compScreenInit() return bool 2026-07-24 13:29:04 +02:00
compositeext_intern.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
compositeext_priv.h xext: composite: move some function declarations 2026-07-23 18:48:47 +02:00
compoverlay.c xext: panoramiX: helpers for checking wether it's enabled/disabled 2026-07-24 17:27:51 +02:00
compwindow.c xext: composite: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:24:07 +02:00
meson.build composite: move it under Xext/ 2026-06-17 07:50:13 +02:00