mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-02 14:36:48 +00:00
kiosk: don't attempt to hide windows when disconnecting
Get rid of the following warning: (virt-viewer:7262): virt-viewer-WARNING **: Can't hide windows in kiosk mode https://bugzilla.redhat.com/show_bug.cgi?id=1107518
This commit is contained in:
parent
ed939ad00d
commit
fc610f5c98
@ -1318,7 +1318,9 @@ virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED,
|
||||
VirtViewerAppPrivate *priv = self->priv;
|
||||
gboolean connect_error = !priv->connected && !priv->cancelled;
|
||||
|
||||
virt_viewer_app_hide_all_windows(self);
|
||||
if (!priv->kiosk)
|
||||
virt_viewer_app_hide_all_windows(self);
|
||||
|
||||
if (priv->quitting)
|
||||
gtk_main_quit();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user