GNU bug report logs - #38497
27.0.50; Frame is not rendered when frame-resize-pixelwise it 't

Previous Next

Package: emacs;

Reported by: 'Ihor Radchenko' <yantar92 <at> gmail.com>

Date: Thu, 5 Dec 2019 07:11:02 UTC

Severity: normal

Found in version 27.0.50

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


Message #140 received at 38497 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> gmail.com>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: martin rudalics <rudalics <at> gmx.at>, 38497 <at> debbugs.gnu.org
Subject: Re: bug#38497: 27.0.50; Frame is not rendered when
 frame-resize-pixelwise it 't
Date: Tue, 17 Dec 2019 18:37:52 +0800
> Does the patch below work?  (I'm no X11 expert, so just shooting at random.)

It seems to work. Though I was not able to reproduce this new problem with
emacs -Q. Will keep testing with my config for a while more to make sure
that the problem is gone. 

Best,
Ihor

YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:

> On Tue, 17 Dec 2019 09:39:28 +0900,
> Ihor Radchenko wrote:
>> 
>> >> Could you try the patch below?
>> 
>> Even though redrawing started working with the patch following my
>> previous recipe, I observe another redrawing issue with this patch. I
>> haven't tracked the exact recipe yet, but it seems to occur when emacs
>> frame is created in floating layout (maybe because it is not resized
>> after creation in this case, unlike tiling layout).
>
> Does the patch below work?  (I'm no X11 expert, so just shooting at random.)
>
> 				     YAMAMOTO Mitsuharu
> 				mituharu <at> math.s.chiba-u.ac.jp
>
> diff --git a/src/xterm.c b/src/xterm.c
> index 55e5cb76f2..590b4bda97 100644
> --- a/src/xterm.c
> +++ b/src/xterm.c
> @@ -8934,6 +8934,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
>        if (f)
>  	x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
>  					  configureEvent.xconfigure.height);
> +      else if (any && configureEvent.xconfigure.window == FRAME_X_WINDOW (any))
> +	x_cr_update_surface_desired_size (any,
> +					  configureEvent.xconfigure.width,
> +					  configureEvent.xconfigure.height);
>  #endif
>  #ifdef USE_GTK
>        if (!f





This bug report was last modified 5 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.