From: Gerd Hoffmann Date: Fri, 31 Jan 2020 10:45:18 +0000 (+0100) Subject: ui: add show-cursor option X-Git-Tag: v5.0.0-rc0~97^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7027bdd77f7f5b8ce9572281b64b69680f109acf;p=thirdparty%2Fqemu.git ui: add show-cursor option When enabled, this forces showing the mouse cursor, i.e. do not hide the pointer on mouse grabs. Defaults to off. Signed-off-by: Gerd Hoffmann Reviewed-by: Markus Armbruster Reviewed-by: Ján Tomko --- diff --git a/qapi/ui.json b/qapi/ui.json index e04525d8b44..f8c803fe432 100644 --- a/qapi/ui.json +++ b/qapi/ui.json @@ -1144,6 +1144,8 @@ # @type: Which DisplayType qemu should use. # @full-screen: Start user interface in fullscreen mode (default: off). # @window-close: Allow to quit qemu with window close button (default: on). +# @show-cursor: Force showing the mouse cursor (default: off). +# (since: 5.0) # @gl: Enable OpenGL support (default: off). # # Since: 2.12 @@ -1153,6 +1155,7 @@ 'base' : { 'type' : 'DisplayType', '*full-screen' : 'bool', '*window-close' : 'bool', + '*show-cursor' : 'bool', '*gl' : 'DisplayGLMode' }, 'discriminator' : 'type', 'data' : { 'gtk' : 'DisplayGTK',