summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index bb005aa8e..33b0930cd 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -543,16 +543,16 @@ void Fl_Gl_Window::draw() {
int Fl_Gl_Window::handle(int event)
{
#ifdef __APPLE_QUARTZ__
- if (event==FL_HIDE) {
+ /*if (event==FL_HIDE) {
// if we are not hidden, just the parent was hidden, so we must throw away the context
if (!visible_r())
- context(0); // remove context wthout setting the hidden flags
+ context(0); // remove context without setting the hidden flags
}
if (event==FL_SHOW) {
// if we are not hidden, just the parent was shown, so we must create a new context
if (visible_r())
show(); //
- }
+ }*/
#endif
return Fl_Window::handle(event);
}