[PATCH 2/2] conhost: Improve notification when resizing window.

Jacek Caban jacek at codeweavers.com
Mon Feb 1 11:43:43 CST 2021


On 01.02.2021 18:29, Roman Pišl wrote:
> diff --git a/programs/conhost/window.c b/programs/conhost/window.c
> index 5e94a1d454e..01917ee8b67 100644
> --- a/programs/conhost/window.c
> +++ b/programs/conhost/window.c
> @@ -1901,6 +1901,8 @@ static void apply_config( struct console *console, const struct console_config *
>       }
>   
>       update_window( console );
> +
> +    notify_screen_buffer_size( console->active );


Should we do this only when the size actually changed?


Thanks,

Jacek




More information about the wine-devel mailing list