diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-04-13 20:39:11 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-12-21 10:50:21 +0400 |
| commit | ca19ef52999251443b511b53e7b0498dd247261e (patch) | |
| tree | 910c07bed1bebacff9f6a873b5b2bc781d28b04e /ui/sdl2.c | |
| parent | 46e4609e339f424a0e19c1fb657ccad6a43f7364 (diff) | |
| download | focaccia-qemu-ca19ef52999251443b511b53e7b0498dd247261e.tar.gz focaccia-qemu-ca19ef52999251443b511b53e7b0498dd247261e.zip | |
ui: do not delay further remote resize
A remote client, such as Spice, will already avoid flooding the stream by delaying the resize requests. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/sdl2.c')
| -rw-r--r-- | ui/sdl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/sdl2.c b/ui/sdl2.c index 17c0ec30eb..9ba3bc49e7 100644 --- a/ui/sdl2.c +++ b/ui/sdl2.c @@ -561,7 +561,7 @@ static void handle_windowevent(SDL_Event *ev) memset(&info, 0, sizeof(info)); info.width = ev->window.data1; info.height = ev->window.data2; - dpy_set_ui_info(scon->dcl.con, &info); + dpy_set_ui_info(scon->dcl.con, &info, true); } sdl2_redraw(scon); break; |