mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
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>
This commit is contained in:
parent
ea8acfe3e2
commit
bee2ec5404
3 changed files with 33 additions and 2 deletions
|
|
@ -93,7 +93,11 @@
|
|||
|
||||
/* SHM */
|
||||
#define SERVER_SHM_MAJOR_VERSION 1
|
||||
#if XTRANS_SEND_FDS
|
||||
#define SERVER_SHM_MINOR_VERSION 2
|
||||
#else
|
||||
#define SERVER_SHM_MINOR_VERSION 1
|
||||
#endif
|
||||
|
||||
/* Sync */
|
||||
#define SERVER_SYNC_MAJOR_VERSION 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue