Roman Pišl : wineconsole: Don't allow recurrent resizing while grabbing changes.
Alexandre Julliard
julliard at winehq.org
Wed Apr 22 15:29:26 CDT 2020
Module: wine
Branch: master
Commit: 3d2277e04a7438cd25ad8cb7325bbb6773a18ec4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3d2277e04a7438cd25ad8cb7325bbb6773a18ec4
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>
---
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