summaryrefslogtreecommitdiff
path: root/src/Fl_display.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-13 22:33:03 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-13 22:33:03 +0000
commit9bf19e2329a51f68b2f6b9c2d65db87ab3698f76 (patch)
tree4949368ed1aa08e8a6ecda0958788081a97f1a96 /src/Fl_display.cxx
parent4159c97e420fd9cd66024a9b71aa5d143cc1b2db (diff)
WP1 merged from my branch, WP2 reserved, todo list updated.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_display.cxx')
-rw-r--r--src/Fl_display.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_display.cxx b/src/Fl_display.cxx
index 8afc2583e..7ce6d4293 100644
--- a/src/Fl_display.cxx
+++ b/src/Fl_display.cxx
@@ -32,6 +32,12 @@
#include <stdlib.h>
#include "flstring.h"
+/**
+ Sets the X display to use for all windows. Actually this just sets
+ the environment variable $DISPLAY to the passed string, so this only
+ works before you show() the first window or otherwise open the display,
+ and does nothing useful under WIN32.
+*/
void Fl::display(const char *d) {
#if defined(__APPLE__) || defined(WIN32)
(void)d;