From 6bff750e172b5c3cfd856c9bcf2e06d44f1ccb61 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 16 Feb 2015 11:50:15 +0900 Subject: [PATCH] * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. --- src/ChangeLog | 1 + src/xterm.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f25c07c55c3..da824826b0c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -23,6 +23,7 @@ width and height args. (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask. + (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. 2015-02-14 YAMAMOTO Mitsuharu diff --git a/src/xterm.c b/src/xterm.c index 94e83e902ff..8418dfaf431 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2547,8 +2547,8 @@ x_draw_relief_rect (struct frame *f, right_x + 1 - left_x, width, 0); } - x_set_clip_rectangles (f, top_left_gc, clip_rect, 1); - x_set_clip_rectangles (f, bottom_right_gc, clip_rect, 1); + x_reset_clip_rectangles (f, top_left_gc); + x_reset_clip_rectangles (f, bottom_right_gc); #else Display *dpy = FRAME_X_DISPLAY (f); Window window = FRAME_X_WINDOW (f); -- 2.11.4.GIT