Radiant:
misc... * entity inspector, entity list->'autofocus on selection' buttons: also do FocusAllViews() on clicking them * focus on preferences treeview on 2nd+ call to make text search to work * fixed WindowPositionTracker globally: minus many particular hacks, plus correct wnds positioning in Floating viewports layout * fixed ToggleShown functionality: shown/hidden wnds states are saved and loaded correctly in Floating viewports layout * also save/load XY and Cam viewports visibility states * new preferences->layout icons * fix: stop chaseMouseMotion on mouse button release
This commit is contained in:
@@ -59,13 +59,9 @@ GroupDlg();
|
||||
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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user