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=0574802;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