diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-10-23 12:19:44 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-10-23 12:19:44 +0200 |
| commit | e69d45cde88373a32b580745aafae93529a5cc73 (patch) | |
| tree | b0671a3bf097505d6118599826bfb52e298545d2 /src/Fl_display.cxx | |
| parent | c7ffd8e72a3c8ffe12ec546824df48b95bdf790f (diff) | |
Make Fl::display(const char *) active also for the Wayland platform.
Diffstat (limited to 'src/Fl_display.cxx')
| -rw-r--r-- | src/Fl_display.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Fl_display.cxx b/src/Fl_display.cxx index 1a78cba68..d91393838 100644 --- a/src/Fl_display.cxx +++ b/src/Fl_display.cxx @@ -21,11 +21,10 @@ #include "Fl_Screen_Driver.H" /** - \brief Sets the X display to use for all windows. + Sets the X or Wayland 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. + This sets the environment variable $DISPLAY or $WAYLAND_DISPLAY to the passed string, + so this only works before you show() the first window or otherwise open the display. This does nothing on other platforms. */ |
