[virt-tools-list] [PATCH virt-viewer 2/4] Initialize fullscreen_monitor to invalid value

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


This makes it easier to debug when a window has no associated monitor.
---
 src/virt-viewer-window.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index d5e8d64..af1ec53 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -265,6 +265,7 @@ virt_viewer_window_init (VirtViewerWindow *self)
     self->priv = GET_PRIVATE(self);
     priv = self->priv;
 
+    priv->fullscreen_monitor = -1;
     priv->auto_resize = TRUE;
     g_value_init(&priv->accel_setting, G_TYPE_STRING);
 
-- 
1.8.3.rc1.49.g8d97506




More information about the virt-tools-list mailing list