gtk ui: unbreak spice
commitf963e4d0ca5b7704aed8048e2bc293597d333dfb
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Feb 2013 15:02:30 +0000 (25 16:02 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Feb 2013 19:26:16 +0000 (26 13:26 -0600)
tree9bad2ac4b38fd5f88ddc92079e9fa5cccfb119c6
parent864a556e9a800116a305f10fbb714268ca7e9bc3
gtk ui: unbreak spice

Merge of the gtk ui brought a initialitation order issue for spice:
The using_spice variable isn't set yet when checked, leading to the
default UI being activated (additionally to spice remote access).

Let's set display_remote when we find a -spice switch on the command
line, like we do for vnc.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1361804550-15858-1-git-send-email-kraxel@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c