2a190a2264
Commit 80fab03198 introduced a way to
prevent waitforx going to the network when trying to open a display,
and hence potentially blocking.
This method turned out to be invalidated by libxcb version 1.16 and
1.17
This change adds an explicit check that the Unix socket for the display
in /tmp/.X11-unix/Xn is open before trying to connect to display ':n'.
This has the same effect.
17 lines
310 B
Makefile
17 lines
310 B
Makefile
pkglibexec_PROGRAMS = \
|
|
waitforx
|
|
|
|
AM_LDFLAGS = $(X_LIBS) -lX11 -lXrandr
|
|
|
|
AM_CPPFLAGS = \
|
|
-DXRDP_SOCKET_ROOT_PATH=\"${socketdir}\" \
|
|
-I$(top_srcdir)/sesman/sesexec \
|
|
-I$(top_srcdir)/common
|
|
|
|
AM_CFLAGS = $(X_CFLAGS)
|
|
|
|
waitforx_SOURCES = waitforx.c
|
|
|
|
waitforx_LDADD = \
|
|
$(top_builddir)/common/libcommon.la
|