gtk: refactor menu creation
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
console: qom-ify QemuConsole
Just the minimal bits to turn QemuConsoles into Objects.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
console: add device link to QemuConsoles
So it is possible to figure which qemu console displays which device.
console: add qemu_console_lookup_by_device
Look up the QemuConsole for a given device, using the new link.
console: switch ppm_save to qemu_open
... so it works with fdset.
console: zap ds arg from register_displaychangelistener
We don't have multiple DisplayStates any more,so passing it in as argument is not needed.
console: add dummy surface for guests without graphic card
So users get a notification instead of a crash.
input: make QEMUPutLEDEntry + QEMUPutMouseEntry private
There is no need for anybody outside ui/input.c to access thestruct elements. Move the definitions, leaving only the typedefsin the header files.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>...
input: introduce keyboard handler list
Add a linked list of keyboard handlers. Added handlers will goto the head of the list. Removed handlers will be zapped fromthe list. The head of the list will be used for events.
This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events...
ui/gtk: Use gtk_widget_get_window() to support both gtk2 and gtk3
This fixes build with gtk+-3.0.
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>Message-id: 1366711402-1750-1-git-send-email-ozancag@gmail.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
View revisions
Also available in: Atom