summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx2
1 files changed, 1 insertions, 1 deletions
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")) {