Roman Pišl : wineconsole: Don't allow recurrent resizing while grabbing changes.

Alexandre Julliard julliard at winehq.org
Fri Aug 7 10:42:28 CDT 2020


Module: wine
Branch: stable
Commit: 54e576de30bcc37d89f9844ffeffd98ac46f163b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=54e576de30bcc37d89f9844ffeffd98ac46f163b

Author: Roman Pišl <rpisl at seznam.cz>
Date:   Tue Apr 21 22:09:55 2020 +0200

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 at seznam.cz>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 3d2277e04a7438cd25ad8cb7325bbb6773a18ec4)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 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;




More information about the wine-cvs mailing list