aboutsummaryrefslogtreecommitdiff
path: root/qapi/ui.json
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-02-02 12:10:22 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-02-20 12:12:05 +0100
commite3af9f9a4075e81a0854017721de1799795d0a15 (patch)
treec0a2a25e7c7ca37dd873fa3a3e5e9b22dc56d5d2 /qapi/ui.json
parent9b9b46c71c4cbec4559ed2edd51d88ac96efa480 (diff)
vl: drop display_type variable
Switch over all leftover users to qapi DisplayType. Then delete the unused display_type variable. Add 'default' DisplayType, which isn't an actual display type but a placeholder for "user didn't specify a display". It will be replaced by the DisplayType actually used, which in turn depends on the DisplayTypes availabel in the particular build. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180202111022.19269-13-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/ui.json')
-rw-r--r--qapi/ui.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/qapi/ui.json b/qapi/ui.json
index 398baa9698..3e82f25ac5 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1020,7 +1020,7 @@
#
##
{ 'enum' : 'DisplayType',
- 'data' : [ 'none', 'gtk', 'sdl',
+ 'data' : [ 'default', 'none', 'gtk', 'sdl',
'egl-headless', 'curses', 'cocoa' ] }
##
@@ -1042,7 +1042,8 @@
'*window-close' : 'bool',
'*gl' : 'bool' },
'discriminator' : 'type',
- 'data' : { 'none' : 'DisplayNoOpts',
+ 'data' : { 'default' : 'DisplayNoOpts',
+ 'none' : 'DisplayNoOpts',
'gtk' : 'DisplayGTK',
'sdl' : 'DisplayNoOpts',
'egl-headless' : 'DisplayNoOpts',