qemu/include/ui
Gerd Hoffmann 7a1b46e095 input: avoid malloc for mouse events
There is no reason to allocate mouse events using malloc, we can
allcoate them from stack instead, save a few cpu cycles and make the
code more readable with c99 initializers.

Suggested-by: FelixYao <felix.yzg@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181210140808.26794-1-kraxel@redhat.com
2019-01-11 11:57:17 +01:00
..
console.h ui/console: Remove qemu_create_display_surface_guestmem() 2019-01-10 08:55:17 +01:00
egl-context.h
egl-helpers.h
gtk.h
input.h input: avoid malloc for mouse events 2019-01-11 11:57:17 +01:00
pixel_ops.h
qemu-pixman.h
qemu-spice.h
sdl2.h
shader.h
spice-display.h