Handle -displayfd and an explicit display number sensibly
authorJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 11 Mar 2013 14:34:32 +0000 (14:34 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Thu, 27 Mar 2014 14:34:34 +0000 (14:34 +0000)
commitbc348bd2c42f3f18786085ccef2f010eff5bf3d2
tree76e763e6bb3f6a05dd07be123f5d8a6c2cf44e50
parenta3730271d52542757ec0f41acc29e7730501f666
Handle -displayfd and an explicit display number sensibly

Handle -displayfd and an explicit display number sensibly, e.g. use the
explicitly specified display number, and write it to the displayfd

v2: displayfd might be 0, so use -1 as invalid value
v3: Rebase for addition of NoListenAll flag

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
dix/globals.c
include/opaque.h
os/connection.c
os/utils.c