aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2019-06-21 09:20:34 +0900
committerYAMAMOTO Mitsuharu2019-06-21 09:20:34 +0900
commit2da3305c3c335adcbc9e541b7c50e4e814df87d1 (patch)
tree827aa4495340ab0c8238479ce1f334904fd1da3a
parent5f485a2fc04053163a0f0b4a3019a141b8735068 (diff)
downloademacs-2da3305c3c335adcbc9e541b7c50e4e814df87d1.tar.gz
emacs-2da3305c3c335adcbc9e541b7c50e4e814df87d1.zip
Fix broken display by frame maximization on cairo (Bug#23925)
* 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.
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
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,
8834 if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) 8834 if (f && FRAME_X_DOUBLE_BUFFERED_P (f))
8835 font_drop_xrender_surfaces (f); 8835 font_drop_xrender_surfaces (f);
8836 unblock_input (); 8836 unblock_input ();
8837#ifdef USE_CAIRO 8837#if defined USE_CAIRO && !defined USE_GTK
8838 if (f) 8838 if (f)
8839 x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, 8839 x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
8840 configureEvent.xconfigure.height); 8840 configureEvent.xconfigure.height);