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

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



ACK-series

On 07/18/2013 08:19 PM, Marc-André Lureau wrote:
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;



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