summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-03-24 01:36:05 +0100
committerChristian Beier <dontmind@freeshell.org>2018-03-24 01:36:05 +0100
commit71c3215d8f2a0760337506da1d93ac4712bdaeb9 (patch)
tree77e335577c0bd21dd0aac6a94b3c2a62bca88e97 /client_examples
parentc49204c815687da49f0f62c462041506bc23822b (diff)
downloadlibtdevnc-71c3215d8f2a0760337506da1d93ac4712bdaeb9.tar.gz
libtdevnc-71c3215d8f2a0760337506da1d93ac4712bdaeb9.zip
SDLvncviewer: enable the X11 clipboard if X11 was found
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/scrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_examples/scrap.c b/client_examples/scrap.c
index c28800c..0ee22bf 100644
--- a/client_examples/scrap.c
+++ b/client_examples/scrap.c
@@ -14,7 +14,7 @@
#include "rfb/rfbconfig.h"
/* Determine what type of clipboard we are using */
-#if defined(__unix__) && !defined(__QNXNTO__) && defined(LIBVNCSERVER_HAVE_X11)
+#if defined(__unix__) && !defined(__QNXNTO__) && defined(SDL_VIDEO_DRIVER_X11)
#define X11_SCRAP
#elif defined(__WIN32__)
#define WIN_SCRAP