From 6015481377bc7c96d7e09b263a18b285fe2fc282 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 11 Dec 2016 01:31:31 +0100 Subject: [PATCH] Pixel hunt cairo-packer (status-bar, selection-clock border) --- libs/gtkmm2ext/cairo_packer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gtkmm2ext/cairo_packer.cc b/libs/gtkmm2ext/cairo_packer.cc index 2f7b46f47d..a3e34e5586 100644 --- a/libs/gtkmm2ext/cairo_packer.cc +++ b/libs/gtkmm2ext/cairo_packer.cc @@ -36,7 +36,7 @@ CairoPacker::draw_background (Gtk::Widget& w, GdkEventExpose*) Gdk::Color bg = get_bg (); context->set_source_rgba (bg.get_red_p(), bg.get_green_p(), bg.get_blue_p(), 1.0); - Gtkmm2ext::rounded_rectangle (context, x, y, w.get_allocation().get_width(), w.get_allocation().get_height(), 4); + Gtkmm2ext::rounded_rectangle (context, x + 1, y + 1, w.get_allocation().get_width() - 2, w.get_allocation().get_height() - 2, 4); context->fill (); } }