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

Roman Pišl rpisl at seznam.cz
Tue Apr 21 15:09:55 CDT 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48747
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
 programs/wineconsole/wineconsole.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 4b65e68939..38a8c71163 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -92,7 +92,7 @@ void WINECON_ResizeWithContainer(struct inner_data* data, int width, int height)
 {
     struct config_data  cfg;
 
-    if (data->in_set_config) return;
+    if (data->in_set_config || data->in_grab_changes) return;
 
     cfg = data->curcfg;
     cfg.win_width  = width;
-- 
2.20.1




More information about the wine-devel mailing list