]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 16 Feb 2015 02:50:15 +0000 (11:50 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 16 Feb 2015 02:50:15 +0000 (11:50 +0900)
src/ChangeLog
src/xterm.c

index f25c07c55c38206f27ca27fb6cd8f1e979540d69..da824826b0c0499483e2ca0a0114bbe0e3c76478 100644 (file)
@@ -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  <mituharu@math.s.chiba-u.ac.jp>
 
index 94e83e902ff38483c6de217620e076dcc0131e2c..8418dfaf4312b9fd6867b843d5dc0a2841183411 100644 (file)
@@ -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);