summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-10-23 17:12:57 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-10-23 17:12:57 -0400
commit825f09dffd94cfcd0562a01c5181998503851461 (patch)
tree22a302e955e641e0b2109568d1a98163a82ed7ba /include
parent660557593ea961948722298ea8ffba83891c9914 (diff)
xace: Still more changes to selection code. Removed the SelectionPtr from
the hook - the hook only needs the Atom to control access to the selection object. Upgraded the SelectionCallback to take a client argument and additional type codes so that it can be used for redirection.
Diffstat (limited to 'include')
-rw-r--r--include/dix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index 09ed6d944..30fdc45b1 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -594,12 +594,15 @@ extern CallbackListPtr SelectionCallback;
typedef enum {
SelectionSetOwner,
+ SelectionGetOwner,
+ SelectionConvertSelection,
SelectionWindowDestroy,
SelectionClientClose
} SelectionCallbackKind;
typedef struct {
struct _Selection *selection;
+ ClientPtr client;
SelectionCallbackKind kind;
} SelectionInfoRec;