[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23925: 25.0.95; display broken when maximizing frame
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#23925: 25.0.95; display broken when maximizing frame |
Date: |
Wed, 19 Jun 2019 10:38:16 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On Wed, 19 Jun 2019 10:22:40 +0900,
Dmitry Gutov wrote:
>
> On 19.06.2019 3:26, YAMAMOTO Mitsuharu wrote:
> > Could you try adding (inhibit-double-buffering . t) to
> > initial-frame-alist above and see if the problem still happens?
>
> Tried it now. The problem went away.
Thanks for trying. Could you also try the following patch (without
inhibiting double buffering)?
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
diff --git a/src/xterm.c b/src/xterm.c
index bc56e99513d..9bb0b83916c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8834,7 +8834,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
if (f && FRAME_X_DOUBLE_BUFFERED_P (f))
font_drop_xrender_surfaces (f);
unblock_input ();
-#ifdef USE_CAIRO
+#if defined USE_CAIRO && !defined USE_GTK
if (f)
x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
configureEvent.xconfigure.height);
bug#23925: 25.0.95; display broken when maximizing frame, YAMAMOTO Mitsuharu, 2019/06/18