[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]