wineconsole: Don't allow recurrent resizing while grabbing changes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48747
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Roman Pišl 2020-04-21 22:09:55 +02:00 committed by Alexandre Julliard
parent 8d8eab04fb
commit 3d2277e04a
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void WINECON_ResizeWithContainer(struct inner_data* data, int width, int height)
{ {
struct config_data cfg; struct config_data cfg;
if (data->in_set_config) return; if (data->in_set_config || data->in_grab_changes) return;
cfg = data->curcfg; cfg = data->curcfg;
cfg.win_width = width; cfg.win_width = width;