[virt-tools-list] [PATCH virt-viewer 1/4] Disable auto-conf when user toggle display

Marc-André Lureau marcandre.lureau at gmail.com
Thu Jul 18 18:19:57 UTC 2013


Let's get out of auto-conf mode whenever user tricks display visibility.
---
 src/virt-viewer-app.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 9692f2c..89f7e0d 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -338,6 +338,8 @@ virt_viewer_app_window_set_visible(VirtViewerApp *self,
     g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE);
     g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(window), FALSE);
 
+    self->priv->fullscreen_auto_conf = FALSE;
+
     if (visible) {
         virt_viewer_window_show(window);
         return TRUE;
-- 
1.8.3.rc1.49.g8d97506




More information about the virt-tools-list mailing list