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>
This commit is contained in:
Marc-André Lureau 2021-04-13 20:39:11 +04:00
parent 46e4609e33
commit ca19ef5299
7 changed files with 9 additions and 8 deletions

View file

@ -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;