diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-17 16:55:37 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-17 16:55:37 +0100 |
| commit | 44bb080c0ff81b16d48dccd8d15809f058cc68ea (patch) | |
| tree | a6bb39936839aedd6be10fd435e84ac3a479fc6b /src/Fl_Window_iconize.cxx | |
| parent | a3fd63fd1d5fb0798210ff5f2d994b72ec0eb39a (diff) | |
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.
Diffstat (limited to 'src/Fl_Window_iconize.cxx')
| -rw-r--r-- | src/Fl_Window_iconize.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Window_iconize.cxx b/src/Fl_Window_iconize.cxx index 9b7d6a270..4778546e0 100644 --- a/src/Fl_Window_iconize.cxx +++ b/src/Fl_Window_iconize.cxx @@ -1,7 +1,7 @@ // // Window minification code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -19,7 +19,7 @@ void Fl_Window::iconize() { if (!shown()) { - show_iconic_ = 1; + show_next_window_iconic(1); show(); } else { pWindowDriver->iconize(); |
