/* SPDX-License-Identifier: MIT OR X11 * * Copyright © 2024 Enrico Weigelt, metux IT consult */ #ifndef _XSERVER_DIX_SELECTION_PRIV_H #define _XSERVER_DIX_SELECTION_PRIV_H #include #include #include "include/selection.h" #define SELECTION_FILTER_GETOWNER 1 #define SELECTION_FILTER_SETOWNER 2 #define SELECTION_FILTER_CONVERT 3 #define SELECTION_FILTER_LISTEN 4 #define SELECTION_FILTER_EV_REQUEST 5 #define SELECTION_FILTER_EV_CLEAR 6 #define SELECTION_FILTER_NOTIFY 7 typedef struct { int op; Bool skip; int status; Atom selection; ClientPtr client; // initiating client ClientPtr recvClient; // client receiving event Time time; // request time stamp Window requestor; Window owner; Atom property; Atom target; } SelectionFilterParamRec, *SelectionFilterParamPtr; extern CallbackListPtr SelectionFilterCallback; #endif /* _XSERVER_DIX_SELECTION_PRIV_H */