Xext: Enable MIT-SHM FD-passing request definitions only when possible
authorKeith Packard <keithp@keithp.com>
Sun, 3 Nov 2013 18:08:15 +0000 (10:08 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 11 Nov 2013 23:12:50 +0000 (15:12 -0800)
commitbee2ec54049377e0033d49abff20d7bd069c62aa
tree74564b09ff872e6d64820dc773d8e7bbece419d3
parentea8acfe3e2f74a46c3f1e91809b4b99af18502b7
Xext: Enable MIT-SHM FD-passing request definitions only when possible

Check to see if xtrans FD passing is available and use that to
advertise the appropriate version of the SHM extension

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Xext/shm.c
Xext/shmint.h
include/protocol-versions.h