[virt-tools-list] [PATCH virt-viewer] spice: do not open in fullscreen with CONTROLLER_AUTO_DISPLAY_RES
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Feb 26 11:42:52 UTC 2014
This flag is always set when using the rhevm user portal. Best is
probably to ignore it, now that fullscreen has simplified unique
behaviour.
---
src/remote-viewer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index af9cbd4..fe8b5a3 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -545,7 +545,7 @@ spice_ctrl_notified(SpiceCtrlController *ctrl,
g_object_set(app, "title", g_value_get_string(&value), NULL);
} else if (g_str_equal(pspec->name, "display-flags")) {
guint flags = g_value_get_uint(&value);
- gboolean fullscreen = !!(flags & (CONTROLLER_SET_FULL_SCREEN | CONTROLLER_AUTO_DISPLAY_RES));
+ gboolean fullscreen = !!(flags & CONTROLLER_SET_FULL_SCREEN);
g_object_set(G_OBJECT(self), "fullscreen", fullscreen, NULL);
} else if (g_str_equal(pspec->name, "menu")) {
spice_ctrl_menu_updated(self);
--
1.8.5.3
More information about the virt-tools-list
mailing list