summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-11 01:31:31 +0100
committerRobin Gareus <robin@gareus.org>2016-12-11 01:32:27 +0100
commit6015481377bc7c96d7e09b263a18b285fe2fc282 (patch)
treeaf1275ceae368a3c6b5704bce8c85a1b0f990c03
parent39903a00235a6bd222da23bab177a960ce1c5947 (diff)
Pixel hunt cairo-packer (status-bar, selection-clock border)
-rw-r--r--libs/gtkmm2ext/cairo_packer.cc2
1 files changed, 1 insertions, 1 deletions
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 ();
}
}