]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
macos: also call to hide the gl widget (even if that does not work, at least we ask to)
authorThomas Debesse <dev@illwieckz.net>
Sat, 6 Mar 2021 06:38:02 +0000 (07:38 +0100)
committerThomas Debesse <dev@illwieckz.net>
Sat, 6 Mar 2021 06:38:02 +0000 (07:38 +0100)
radiant/texwindow.cpp

index cf37ff4fec57d5ffc972597c314b904e5c859f77..8a5cefb9f020e818b692e7190c7a06299b5c8ee7 100644 (file)
@@ -2393,6 +2393,7 @@ void TextureBrowser_hideGLWidget(){
                GlobalTextureBrowser().m_vframe.set_child_packing( GlobalTextureBrowser().m_gl_widget, FALSE, FALSE, 0, ui::Packing::END );
                GdkEventExpose event = {};
                TextureBrowser_expose( GlobalTextureBrowser().m_gl_widget, &event, &GlobalTextureBrowser() );
+               GlobalTextureBrowser().m_gl_widget.hide();
        }
 }
 #endif // WORKAROUND_MACOS_GTK2_GLWIDGET