[Summary] Bug fix: in the MainClock editing cursor’s cairo_fill filled all the occurred rectangles (including one, used to clip).

This commit is contained in:
Valeriy Kamyshniy 2014-11-14 14:25:35 +02:00
parent 857f303e18
commit 310f02b786

View file

@ -66,7 +66,12 @@ CairoWidget::on_expose_event (GdkEventExpose *ev)
#endif
cr->rectangle (ev->area.x, ev->area.y, ev->area.width, ev->area.height);
#ifdef USE_CAIRO_IMAGE_SURFACE_FOR_CAIRO_WIDGET
cr->clip_preserve ();
#else
cr->clip ();
#endif
/* paint expose area the color of the parent window bg
*/