Allow to fullscreen and position display independently

Currently, going from window to fullscreen mode changes all display to
fullscreen and realize automatic positionning on corresponding client
monitor. However, it allows for much more flexibility to allow entering
fullscreen on the current monitor each windows seperately. This way the
user can decide on arbitrary monitor arrangement.

https://bugzilla.redhat.com/show_bug.cgi?id=558241
This commit is contained in:
Marc-André Lureau 2013-05-08 20:18:17 +02:00
parent f3003c6aa6
commit fdaa9b0ca8

View File

@ -752,7 +752,10 @@ virt_viewer_window_menu_view_fullscreen(GtkWidget *menu,
{ {
gboolean fullscreen = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu)); gboolean fullscreen = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu));
g_object_set(self->priv->app, "fullscreen", fullscreen, NULL); if (fullscreen)
virt_viewer_window_enter_fullscreen(self, -1);
else
virt_viewer_window_leave_fullscreen(self);
} }
G_MODULE_EXPORT void G_MODULE_EXPORT void