From 057480298a2d8b73f1a49c6e8d8d162b09c276d4 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 6 Mar 2021 07:38:02 +0100 Subject: [PATCH] macos: also call to hide the gl widget (even if that does not work, at least we ask to) --- radiant/texwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2