mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 23:00:54 +00:00
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:
parent
f3003c6aa6
commit
fdaa9b0ca8
@ -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));
|
||||
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user