From 4939439952480e78f3224514e0f376f05841af37 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 16 Jun 2025 11:06:01 +0200 Subject: [PATCH] dix: drop PropertyStateCallback This callback only had been added for Xwayland, which is gone now, so we don't need it anymore. For property filtering (eg. security extensions), we have PropertyFilterCallback. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/property.c | 2 -- dix/property_priv.h | 1 - 2 files changed, 3 deletions(-) diff --git a/dix/property.c b/dix/property.c index 2b0368c92..9b2560d08 100644 --- a/dix/property.c +++ b/dix/property.c @@ -151,7 +151,6 @@ no_panoramix: setVRRMode(pWindow, mode); } -CallbackListPtr PropertyStateCallback; CallbackListPtr PropertyFilterCallback; static void @@ -172,7 +171,6 @@ deliverPropertyNotifyEvent(WindowPtr pWin, int state, PropertyPtr pProp) }; event.u.u.type = PropertyNotify; - CallCallbacks(&PropertyStateCallback, &rec); DeliverEvents(pWin, &event, 1, (WindowPtr) NULL); } diff --git a/dix/property_priv.h b/dix/property_priv.h index c99baa9b7..4fc776914 100644 --- a/dix/property_priv.h +++ b/dix/property_priv.h @@ -92,7 +92,6 @@ typedef struct _PropertyFilterParam { CARD32 longLength; } PropertyFilterParam; -extern CallbackListPtr PropertyStateCallback; extern CallbackListPtr PropertyFilterCallback; int dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom proprty,