]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix broken display by frame maximization on cairo (Bug#23925)
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 21 Jun 2019 00:20:34 +0000 (09:20 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 21 Jun 2019 00:20:34 +0000 (09:20 +0900)
* src/xterm.c (handle_one_xevent) [USE_CAIRO && USE_GTK]: Make calls to
x_cr_update_surface_desired_size coincide with those to xg_frame_resized.

src/xterm.c

index bc56e99513d32593eadd9b81bedcabd5c0c098e4..9bb0b83916c47f1e4194f492b759f8748a176082 100644 (file)
@@ -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);