summaryrefslogtreecommitdiff
path: root/Xext/shmint.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-17 13:46:55 -0800
committerKeith Packard <keithp@keithp.com>2013-10-31 16:58:28 -0700
commitfdec793cdc2ef9a6ea66b311cb1068a7bd4a3be3 (patch)
treefb668e21ad877c1719181d672836806bcff318fe /Xext/shmint.h
parent9fd35daa3160fd36f00ed354bfcbefefa1353cce (diff)
Add support for MIT-SHM AttachFd request
This passes a file descriptor from the client to the server, which is then mmap'd Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext/shmint.h')
-rw-r--r--Xext/shmint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xext/shmint.h b/Xext/shmint.h
index 9002ce501..db35fbbbe 100644
--- a/Xext/shmint.h
+++ b/Xext/shmint.h
@@ -61,6 +61,7 @@ typedef struct _ShmDesc {
int shmid;
int refcnt;
char *addr;
+ Bool is_fd;
Bool writable;
unsigned long size;
} ShmDescRec, *ShmDescPtr;