Radiant:
misc... * fix of 2.24 related: minimize floating window = whole app minimizes + can't restore * fix of 2.24 related: glwidgets inside floating windows were not shown after hide/show of parent widgets * tex bro: menubar = toolbar
This commit is contained in:
@@ -61,6 +61,14 @@ void Create( GtkWindow* parent );
|
||||
void Show(){
|
||||
// workaround for strange gtk behaviour - modifying the contents of a window while it is not visible causes the window position to change without sending a configure_event
|
||||
m_position_tracker.sync( m_window );
|
||||
/* workaround for gtk 2.24 issue: not displayed glwidget after toggle */
|
||||
GtkWidget* glwidget = GTK_WIDGET( g_object_get_data( G_OBJECT( m_window ), "glwidget" ) );
|
||||
if ( glwidget ){
|
||||
//if ( widget_is_visible( glwidget ) )
|
||||
//globalOutputStream() << "glwidget have been already visible :0\n"; /* is not hidden aswell, according to this */
|
||||
gtk_widget_hide( glwidget );
|
||||
gtk_widget_show( glwidget );
|
||||
}
|
||||
gtk_widget_show( GTK_WIDGET( m_window ) );
|
||||
}
|
||||
void Hide(){
|
||||
|
||||
Reference in New Issue
Block a user