From 44bb080c0ff81b16d48dccd8d15809f058cc68ea Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 17 Nov 2023 16:55:37 +0100 Subject: Remove friend declaration from Fl_Window.H (see STR 3354) Although this was not strictly necessary I decided to implement the proposed patch, but in a slightly different way. This adds a static public method for internal use only but it wouldn't do any harm if a user called it. --- src/Fl_arg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_arg.cxx') diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx index 08254c3e9..035d82d96 100644 --- a/src/Fl_arg.cxx +++ b/src/Fl_arg.cxx @@ -126,7 +126,7 @@ int Fl::arg(int argc, char **argv, int &i) { s++; // point after the dash if (fl_match(s, "iconic")) { - Fl_Window::show_iconic_ = 1; + Fl_Window::show_next_window_iconic(1); i++; return 1; } else if (fl_match(s, "kbd")) { -- cgit v1.2.3