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:
parent
c8b81fdbc5
commit
4939439952
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue