From: YAMAMOTO Mitsuharu Date: Mon, 16 Feb 2015 11:23:27 +0000 (+0900) Subject: * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. X-Git-Tag: emacs-25.0.90~2008^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=016b9ec0c84124bc7754014c447fb08ae2f2df47;p=emacs.git * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. --- diff --git a/src/ChangeLog b/src/ChangeLog index da824826b0c..052bf6985c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -24,6 +24,7 @@ (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask. (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. + (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. 2015-02-14 YAMAMOTO Mitsuharu diff --git a/src/xterm.c b/src/xterm.c index 8418dfaf431..c1970cc4334 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -820,7 +820,6 @@ x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y, cairo_line_to (cr, x, y + height); cairo_line_to (cr, top_p ? x + width - height : x + width, y + height); cairo_line_to (cr, x + width, y); - cairo_close_path (cr); cairo_fill (cr); x_end_cr_clip (f); }