Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2009-06-12 01:20:05 +0400
committerEion Robb <eion@robbmob.com>2009-06-12 01:20:05 +0400
commita9c1af096370403dfe4ef815b8b761776d62b0d3 (patch)
tree8993e01bebc350c019e7d5aed61869c1ffee0a3f /skype_messaging_x11.c
parenta0a871ebd157e2d5d025fffd8630f091f51f713e (diff)
Allow changing of X display that Skype is running on, using an environment variable SKYPEDISPLAY
Diffstat (limited to 'skype_messaging_x11.c')
-rw-r--r--skype_messaging_x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/skype_messaging_x11.c b/skype_messaging_x11.c
index 51decfd..7a7e4b2 100644
--- a/skype_messaging_x11.c
+++ b/skype_messaging_x11.c
@@ -49,11 +49,9 @@ skype_connect()
x11_error_code = 0;
XSetErrorHandler(x11_error_handler);
-#ifdef USE_XVFB_SERVER
if (getenv("SKYPEDISPLAY"))
disp = XOpenDisplay(getenv("SKYPEDISPLAY"));
else
-#endif
disp = XOpenDisplay(getenv("DISPLAY"));
if (disp == NULL)
{