mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-03-12 20:58:17 +03:00
display: only un-constrain display size once it is mapped
Wait until the widget is actually on screen before removing its size constrain. This solves 50x50 window secondary window size when connecting to a multi-monitor spice guest.
This commit is contained in:
parent
03c3e4d08e
commit
0dca975d64
@ -448,6 +448,7 @@ end:
|
||||
*/
|
||||
if (priv->dirty) {
|
||||
g_idle_add(virt_viewer_display_idle, widget);
|
||||
if (gtk_widget_get_mapped(widget))
|
||||
priv->dirty = FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user