summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2013-11-20 16:58:50 -0600
committerJonathon Jongsma <jjongsma@redhat.com>2013-11-21 11:46:33 -0600
commitd1df937e01c998914a73df8bd971a50ea8564f35 (patch)
treebe189fe099e7bba6a7a1c548bae1b83883bd895e
parent36c558f6c2e649f436036ed4af08c5c98824edac (diff)
downloadvirt-viewer-d1df937e01c998914a73df8bd971a50ea8564f35.tar.gz
virt-viewer-d1df937e01c998914a73df8bd971a50ea8564f35.tar.xz
virt-viewer-d1df937e01c998914a73df8bd971a50ea8564f35.zip
Remove non-functional VIRT_VIEWER_HIDE env behavior
VIRT_VIEWER_HIDE could be set as an environment variable to (theoretically) hide displays whenever they were not ready. Unfortunately, this bit of functionality appears bitrotten and doesn't work anymore (it prevents windows from opening when you click 'view > displays > display 2', for instance).
-rw-r--r--src/virt-viewer-app.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 487217e..9eff696 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -803,9 +803,6 @@ display_show_hint(VirtViewerDisplay *display,
virt_viewer_notebook_show_display(nb);
virt_viewer_window_show(win);
} else {
- if (win != self->priv->main_window &&
- g_getenv("VIRT_VIEWER_HIDE"))
- virt_viewer_window_hide(win);
if (!self->priv->kiosk)
virt_viewer_notebook_show_status(nb, _("Waiting for display %d..."), nth + 1);
}