aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-04-13 20:39:11 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-12-21 10:50:21 +0400
commitca19ef52999251443b511b53e7b0498dd247261e (patch)
tree910c07bed1bebacff9f6a873b5b2bc781d28b04e /ui/sdl2.c
parent46e4609e339f424a0e19c1fb657ccad6a43f7364 (diff)
downloadqemu-ca19ef52999251443b511b53e7b0498dd247261e.zip
qemu-ca19ef52999251443b511b53e7b0498dd247261e.tar.gz
qemu-ca19ef52999251443b511b53e7b0498dd247261e.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/sdl2.c b/ui/sdl2.c
index 17c0ec3..9ba3bc4 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;