summaryrefslogtreecommitdiff
path: root/Xext/xacestr.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-29 14:16:46 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-29 14:16:46 -0400
commite39694789e31e221fc8dec44ace9c697daf7acad (patch)
tree2ef4e123d2f6f09705384cc02ec88f6b2010009a /Xext/xacestr.h
parent41355a53c29bbf879da0c6ea562294fcc7ef89ff (diff)
xace: drop map-window checking hook, add new hooks for controlling the
delivery of events to windows and clients. This is tentative. It's likely that an additional last-resort hook will be necessary for code that calls TryClientEvents or WriteEventsToClient directly. It's also possible that new xace machinery will be necessary to classify events and pull useful resource ID's out of them. The failure case also needs some thinking through. Should event delivery "succeed" or should it report undeliverable? Finally, XKB appears to call WriteToClient to pass events. Sigh.
Diffstat (limited to 'Xext/xacestr.h')
-rw-r--r--Xext/xacestr.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/Xext/xacestr.h b/Xext/xacestr.h
index c98be3d32..15d39b72e 100644
--- a/Xext/xacestr.h
+++ b/Xext/xacestr.h
@@ -70,12 +70,24 @@ typedef struct {
int status;
} XaceDrawableAccessRec;
-/* XACE_MAP_ACCESS */
+/* XACE_SEND_ACCESS */
+typedef struct {
+ ClientPtr client;
+ DeviceIntPtr dev;
+ WindowPtr pWin;
+ xEventPtr events;
+ int count;
+ int status;
+} XaceSendAccessRec;
+
+/* XACE_RECEIVE_ACCESS */
typedef struct {
ClientPtr client;
WindowPtr pWin;
+ xEventPtr events;
+ int count;
int status;
-} XaceMapAccessRec;
+} XaceReceiveAccessRec;
/* XACE_CLIENT_ACCESS */
typedef struct {