DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2626
Version: 1.3-current


Affected OS: X11
When Fl_Window->iconize() is called before ->show(), the invisible flag
is not set. Later calls to show() will not recognise the necessity
to map the window.
The patch below fixes this.


Link: http://www.fltk.org/str.php?L2626
Version: 1.3-current
Index: fltk-1.3.x-r8365/src/Fl_x.cxx
===================================================================
--- fltk-1.3.x-r8365.orig/src/Fl_x.cxx  2011-02-09 12:46:46.000000000 +0100
+++ fltk-1.3.x-r8365/src/Fl_x.cxx       2011-02-09 12:47:00.000000000 +0100
@@ -1754,6 +1754,8 @@
     win->handle(Fl::e_number = FL_SHOW); // get child windows to appear
     Fl::e_number = old_event;
     win->redraw();
+  } else {
+    win->clear_visible();
   }
 }
 
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to