qemu/ui
Philippe Mathieu-Daudé dc26435edb ui/gtk: Update refresh interval after widget is realized
Nikola reported on Windows when gd_vc_gfx_init() is called, the
window is not yet realized, so we run gd_refresh_rate_millihz(NULL)
which returns 0 milli-Hertz.
When a Widget is realized, it fires a 'realized' event. We already
have the gd_draw_event() handler registered for this even, so simply
move the gd_refresh_rate_millihz() there. When the event fires, the
window is known to exist.
This completes commit c4c00922cc original intention.

Reported-by: Nikola Pavlica <pavlica.nikola@gmail.com>
Tested-by: Nikola Pavlica <pavlica.nikola@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200817172331.598255-1-philmd@redhat.com
Suggested-by: Nikola Pavlica <pavlica.nikola@gmail.com>
Tested-by: Nikola Pavlica <pavlica.nikola@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-09-04 07:32:28 +02:00
..
icons meson: install icons 2020-09-01 01:51:52 -04:00
keycodemapdb@6b3d716e2b
shader meson: generate shader headers 2020-08-21 06:30:14 -04:00
cocoa.m cpu-throttle: new module, extracted from cpus.c 2020-07-10 18:04:49 -04:00
console-gl.c
console.c ui: fix vc_chr_write call in text_console_do_init 2020-07-13 11:46:35 +02:00
curses_keys.h
curses.c ui/curses: Move arrays to .heap to save 74KiB of .bss 2020-03-16 23:02:25 +01:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c
egl-headless.c
egl-helpers.c
gtk-egl.c
gtk-gl-area.c ui/gtk-gl-area: Plug memleak in gd_gl_area_create_context() 2020-09-04 07:30:57 +02:00
gtk.c ui/gtk: Update refresh interval after widget is realized 2020-09-04 07:32:28 +02:00
input-barrier.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
input-barrier.h
input-keymap.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
input-legacy.c
input-linux.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
input.c
kbd-state.c
keymaps.c
keymaps.h
meson.build meson: add pixman dependency to UI modules 2020-09-01 08:51:34 -04:00
qemu-pixman.c
qemu-x509.h
qemu.desktop
sdl2-2d.c
sdl2-gl.c
sdl2-input.c ui/sdl2-input: use trace-events to debug key events 2020-05-19 09:06:44 +02:00
sdl2.c ui/sdl2: start in full screen with grab enabled 2020-05-19 09:06:44 +02:00
shader.c meson: convert ui directory to Meson 2020-08-21 06:30:21 -04:00
spice-app.c
spice-core.c
spice-display.c lockable: replaced locks with lock guard macros where appropriate 2020-05-04 16:07:43 +01:00
spice-input.c ui: Add more mouse buttons to SPICE 2020-09-04 07:32:28 +02:00
trace-events ui/sdl2-input: use trace-events to debug key events 2020-05-19 09:06:44 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c vnc-auth-sasl: Plug memleak in vnc_socket_ip_addr_string 2020-09-04 07:30:57 +02:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c vnc: Remove the superfluous break 2020-09-01 08:36:53 +02:00
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
vnc-enc-zrle.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-stubs.c
vnc-ws.c
vnc-ws.h
vnc.c qom: Crash more nicely on object_property_get_link() failure 2020-07-10 15:18:08 +02:00
vnc.h
win32-kbd-hook.c ui/win32-kbd-hook: handle AltGr in a hook procedure 2020-05-19 09:06:44 +02:00
x_keymap.c
x_keymap.h