[virt-tools-list] [PATCH virt-viewer] spice: do not open in fullscreen with CONTROLLER_AUTO_DISPLAY_RES
Jonathon Jongsma
jjongsma at redhat.com
Wed Feb 26 16:36:11 UTC 2014
----- Original Message -----
> From: "Marc-André Lureau" <marcandre.lureau at gmail.com>
> To: virt-tools-list at redhat.com
> Cc: jjongsma at redhat.com, "Marc-André Lureau" <marcandre.lureau at gmail.com>
> Sent: Wednesday, February 26, 2014 5:42:52 AM
> Subject: [PATCH virt-viewer] spice: do not open in fullscreen with CONTROLLER_AUTO_DISPLAY_RES
>
> 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
>
>
ACK
More information about the virt-tools-list
mailing list