all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: drshapeless via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 55779@debbugs.gnu.org
Subject: bug#55779: 29.0.50; child frame
Date: Sun, 05 Jun 2022 11:55:58 +0800	[thread overview]
Message-ID: <87o7z7pxv5.fsf@drshapeless.com> (raw)
In-Reply-To: <87a6ar251e.fsf@yahoo.com>

Po Lu <luangruo@yahoo.com> writes:

> Thanks.  I didn't quite figure that out either.
>
> Does this also fix the problem?
>
> diff --git a/src/xterm.c b/src/xterm.c
> index 2bf37e94d6..7f9d4c6ff6 100644
> --- a/src/xterm.c
> +++ b/src/xterm.c
> @@ -4349,11 +4349,16 @@ x_update_opaque_region (struct frame *f, XEvent *configure)
>  		     (unsigned char *) &opaque_region, 4);
>    else
>      {
> -      object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f));
> -      class = GTK_WIDGET_CLASS (object_class);
> +      /* This causes child frames to not update correctly for an
> +	 unknown reason.  (bug#55779) */
> +      if (!FRAME_PARENT_FRAME (f))
> +	{
> +	  object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f));
> +	  class = GTK_WIDGET_CLASS (object_class);
>  
> -      if (class->style_updated)
> -	class->style_updated (FRAME_GTK_OUTER_WIDGET (f));
> +	  if (class->style_updated)
> +	    class->style_updated (FRAME_GTK_OUTER_WIDGET (f));
> +	}
>      }
>  #endif
>    unblock_input ();

Yes this also solves the bug. Weird.





  reply	other threads:[~2022-06-05  3:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03  3:59 bug#55779: 29.0.50; child frame drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03  8:19 ` bug#55779: Acknowledgement (29.0.50; child frame) drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-03 10:27 ` bug#55779: 29.0.50; child frame Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <87ee06vtds.fsf@drshapeless.com>
     [not found]     ` <87ee063piv.fsf@yahoo.com>
2022-06-03 14:56       ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04  1:15         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04  3:10           ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04  4:18             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04 11:57               ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04 12:09                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04 16:46                   ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-05  0:49                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-05  1:03                       ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-05  2:54                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-05  3:55                           ` drshapeless via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-05  5:04                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7z7pxv5.fsf@drshapeless.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=55779@debbugs.gnu.org \
    --cc=drsl@drshapeless.com \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.