summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-23 12:19:44 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-23 12:19:44 +0200
commite69d45cde88373a32b580745aafae93529a5cc73 (patch)
treeb0671a3bf097505d6118599826bfb52e298545d2 /src/Fl_arg.cxx
parentc7ffd8e72a3c8ffe12ec546824df48b95bdf790f (diff)
Make Fl::display(const char *) active also for the Wayland platform.
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index 531b3d853..978097149 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -21,6 +21,7 @@
#include <FL/Fl_Window.H>
#include "Fl_Window_Driver.H"
#include "Fl_System_Driver.H"
+#include "Fl_Screen_Driver.H"
#include <FL/Fl_Tooltip.H>
#include <FL/filename.H>
#include <FL/fl_draw.H>
@@ -172,7 +173,7 @@ int Fl::arg(int argc, char **argv, int &i) {
geometry = v;
} else if (fl_match(s, "display", 2)) {
- Fl::system_driver()->display_arg(v);
+ Fl::screen_driver()->display(v);
} else if (Fl::system_driver()->arg_and_value(s, v)) {
// nothing to do