summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-12-15 17:29:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-12-15 17:29:32 +0000
commitf525fc1160ddbce3660fe986dca07d7bb188d02a (patch)
treeca485da718da58a12aa253119ad8f838428bcb06
parentb3c0a67be8610852972880ce692e9787d0ae43f2 (diff)
Add set_visible() for GL windows on Mac OS X (STR #1707)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_Gl_Window.cxx4
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 904c05261..7db2aab97 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ CHANGES IN FLTK 1.1.8
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
STR #1742, STR #1777, STR #1794, STR #1827, STR #1843)
+ - Fl_Gl_Window::show() did not work reliably on Mac OS X
+ (STR #1707)
- Added Fl_Group::clip_children() methods to support
automatic clipping of child widget drawing (STR #1844)
- Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index f16f3ef28..e9b10ca7e 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -84,6 +84,10 @@ void Fl_Gl_Window::show() {
#endif
}
Fl_Window::show();
+
+#ifdef __APPLE__
+ set_visible();
+#endif /* __APPLE__ */
}
void Fl_Gl_Window::invalidate() {