diff options
author | Adam Jackson <ajax@redhat.com> | 2014-07-12 12:45:23 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-02-23 13:30:11 -0500 |
commit | 8e3f9ce6c06e7605832c55dfd180396f66ec8b66 (patch) | |
tree | 5b0f88a17c151dd14a916c3544e221fc30c98f2b /include/property.h | |
parent | 50bcea8be337ea983e464f2b5b8b2dc6d1024532 (diff) |
dix: Add a callback chain for window property state change
This will be used by in-server features that need to react to property
changes. The first one will be _XWAYLAND_ALLOW_COMMITS.
Signed-off-by: Adam Jackson <ajax@redhat.com>
[Pekka: add commit message body]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'include/property.h')
-rw-r--r-- | include/property.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/property.h b/include/property.h index be875e917..d7ccff344 100644 --- a/include/property.h +++ b/include/property.h @@ -51,6 +51,14 @@ SOFTWARE. typedef struct _Property *PropertyPtr; +typedef struct _PropertyStateRec { + WindowPtr win; + PropertyPtr prop; + int state; +} PropertyStateRec; + +extern CallbackListPtr PropertyStateCallback; + extern _X_EXPORT int dixLookupProperty(PropertyPtr * /*result */ , WindowPtr /*pWin */ , Atom /*proprty */ , |