Commit 812e3063 by o9000

Taskbar: thumbnails (use gaussian filtering, seems faster)

parent 3155a5fc
......@@ -393,7 +393,7 @@ cairo_surface_t *get_window_thumbnail(Window win)
cairo_translate(cr, ox, oy);
cairo_scale(cr, sx, sy);
cairo_set_source_surface(cr, x11_surface, 0, 0);
cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_BEST);
cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_GAUSSIAN);
cairo_paint(cr);
cairo_destroy(cr);
cairo_surface_destroy(x11_surface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment