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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-16 11:06:01 +02:00 committed by Enrico Weigelt
parent c8b81fdbc5
commit 4939439952
2 changed files with 0 additions and 3 deletions

View File

@ -151,7 +151,6 @@ no_panoramix:
setVRRMode(pWindow, mode); setVRRMode(pWindow, mode);
} }
CallbackListPtr PropertyStateCallback;
CallbackListPtr PropertyFilterCallback; CallbackListPtr PropertyFilterCallback;
static void static void
@ -172,7 +171,6 @@ deliverPropertyNotifyEvent(WindowPtr pWin, int state, PropertyPtr pProp)
}; };
event.u.u.type = PropertyNotify; event.u.u.type = PropertyNotify;
CallCallbacks(&PropertyStateCallback, &rec);
DeliverEvents(pWin, &event, 1, (WindowPtr) NULL); DeliverEvents(pWin, &event, 1, (WindowPtr) NULL);
} }

View File

@ -92,7 +92,6 @@ typedef struct _PropertyFilterParam {
CARD32 longLength; CARD32 longLength;
} PropertyFilterParam; } PropertyFilterParam;
extern CallbackListPtr PropertyStateCallback;
extern CallbackListPtr PropertyFilterCallback; extern CallbackListPtr PropertyFilterCallback;
int dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom proprty, int dixLookupProperty(PropertyPtr *result, WindowPtr pWin, Atom proprty,