[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/10] ui: add show-cursor option
From: |
Gerd Hoffmann |
Subject: |
[PULL 03/10] ui: add show-cursor option |
Date: |
Wed, 12 Feb 2020 17:18:28 +0100 |
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 <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Ján Tomko <address@hidden>
---
qapi/ui.json | 3 +++
1 file changed, 3 insertions(+)
diff --git a/qapi/ui.json b/qapi/ui.json
index e04525d8b44b..f8c803fe4328 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',
--
2.18.2
- [PULL 00/10] Ui 20200212 patches, Gerd Hoffmann, 2020/02/12
- [PULL 01/10] ui/gtk: Update gd_refresh_rate_millihz() to handle VirtualConsole, Gerd Hoffmann, 2020/02/12
- [PULL 08/10] ui: drop curor_hide global variable., Gerd Hoffmann, 2020/02/12
- [PULL 10/10] ui/cocoa: Drop workarounds for pre-10.12 OSX, Gerd Hoffmann, 2020/02/12
- [PULL 06/10] ui/cocoa: switch to new show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 03/10] ui: add show-cursor option,
Gerd Hoffmann <=
- [PULL 04/10] ui: wire up legacy -show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 05/10] ui/sdl: switch to new show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 02/10] ui/gtk: Fix gd_refresh_rate_millihz() when widget window is not realized, Gerd Hoffmann, 2020/02/12
- [PULL 09/10] ui: deprecate legacy -show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 07/10] ui/gtk: implement show-cursor option, Gerd Hoffmann, 2020/02/12
- Re: [PULL 00/10] Ui 20200212 patches, Peter Maydell, 2020/02/13