From: Thomas Debesse Date: Sat, 6 Mar 2021 06:38:02 +0000 (+0100) Subject: macos: also call to hide the gl widget (even if that does not work, at least we ask to) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=057480298a2d8b73f1a49c6e8d8d162b09c276d4;p=xonotic%2Fnetradiant.git macos: also call to hide the gl widget (even if that does not work, at least we ask to) --- diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index cf37ff4f..8a5cefb9 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -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