From e69d45cde88373a32b580745aafae93529a5cc73 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 23 Oct 2022 12:19:44 +0200 Subject: Make Fl::display(const char *) active also for the Wayland platform. --- src/Fl_arg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Fl_arg.cxx') 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 #include "Fl_Window_Driver.H" #include "Fl_System_Driver.H" +#include "Fl_Screen_Driver.H" #include #include #include @@ -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 -- cgit v1.2.3