aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan D2015-05-23 12:27:56 +0200
committerJan D2015-05-23 12:27:56 +0200
commitee14727ce033bae3bc11af35e7843604e5a5e635 (patch)
treee343d880105ddefeb5c9db06dfc1072db7941708 /src/xterm.c
parent6445ee0fb751ae2c1dfef900d44721b3d952812f (diff)
downloademacs-old-branches/cairo.tar.gz
emacs-old-branches/cairo.zip
Fixes to compile cairo branch without cairo.old-branches/cairo
* src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as first argument. * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with USE_CAIRO.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 8f595c87214..4590e34fe8b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8326,7 +8326,9 @@ handle_one_xevent (struct x_display_info *dpyinfo,
8326 { 8326 {
8327 xg_frame_resized (f, event->xconfigure.width, 8327 xg_frame_resized (f, event->xconfigure.width,
8328 event->xconfigure.height); 8328 event->xconfigure.height);
8329#ifdef USE_CAIRO
8329 x_cr_destroy_surface (f); 8330 x_cr_destroy_surface (f);
8331#endif
8330 f = 0; 8332 f = 0;
8331 } 8333 }
8332#endif 8334#endif