[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55779: 29.0.50; child frame
From: |
Po Lu |
Subject: |
bug#55779: 29.0.50; child frame |
Date: |
Sun, 05 Jun 2022 10:54:53 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
drshapeless <drsl@drshapeless.com> writes:
> If I comment this part out, even at the lastest master commit, the issue
> is solved. I could say these few lines of code is the root of the bug.
>
> I have no idea what is going on though.
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 ();
- bug#55779: 29.0.50; child frame, (continued)
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/03
- Message not available
- Message not available
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/03
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/03
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/03
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/04
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/04
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/04
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/04
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/04
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/04
- bug#55779: 29.0.50; child frame,
Po Lu <=
- bug#55779: 29.0.50; child frame, drshapeless, 2022/06/04
- bug#55779: 29.0.50; child frame, Po Lu, 2022/06/05
bug#55779: Acknowledgement (29.0.50; child frame), drshapeless, 2022/06/03