ui/cocoa: Pass command key through to guest when VM has mousegrab
The guest might want to be able to use the command key for its wonpurposes (as command if it is MacOS X, or for the Windows key ifit is a PC guest, for instance). In line with other UI frontends,...
ui/cocoa: Use macro ARRAY_SIZE where possible
This improves readability and simplifies the code.
Cc: Andreas Färber <andreas.faerber@web.de>Cc: Anthony Liguori <aliguori@amazon.com>Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
spice: move qemu_spice_display_*() from spice-graphics to spice-core
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice: move spice_server_vm_{start,stop} calls into qemu_spice_display_*()
So calling spice server to start/stop the worker goeshand in hand with the status variable update.
spice: flip streaming video mode to off by default
Video streaming detection heuristics in spice-server have problemskeeping modern desktop animations (as done by gnome shell) and realvideo playback apart. This leads to jpeg compression artefacts onyour desktop, due to spice using mjpeg to send what it thinks is...
Don't crash on keyboard input with no handler
Prevent a call to put_kbd if null.
On shutdown of some OSes, the keyboard handler goes away before thesystem is down. If a key is typed during this window, qemu crashes.
Signed-off-by: Don Koch <dkoch@verizon.com>...
misc: Replace 'struct QEMUTimer' by 'QEMUTimer'
Most code already used QEMUTimer without the redundant 'struct' keyword.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
trace: Remove trace.h from console.h (less dependencies)
This reduces the dependencies on trace.h.Only two source files which need console.h also need trace.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
console: Replace conditional debug messages by trace methods
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
gtk: Replace conditional debug messages by trace methods
View revisions
Also available in: Atom