[virt-tools-list] [PATCH 1/4] virt-viewer-display: Use virt_viewer_display_queue_resize where possible
Hans de Goede
hdegoede at redhat.com
Mon Apr 22 19:08:55 UTC 2013
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
src/virt-viewer-display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/virt-viewer-display.c b/src/virt-viewer-display.c
index 3ec79d6..cdbaf45 100644
--- a/src/virt-viewer-display.c
+++ b/src/virt-viewer-display.c
@@ -485,9 +485,9 @@ void virt_viewer_display_set_desktop_size(VirtViewerDisplay *display,
priv->desktopWidth = width;
priv->desktopHeight = height;
- priv->dirty = TRUE;
- gtk_widget_queue_resize(GTK_WIDGET(display));
+ virt_viewer_display_queue_resize(display);
+
g_signal_emit_by_name(display, "display-desktop-resize");
}
--
1.8.2
More information about the virt-tools-list
mailing list