From a082cf8c65225678af782187e4b6f3ba85a0701a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 28 Sep 2012 19:46:50 +0200 Subject: [PATCH] Bugfix: Draw h-split indicator at the right position fixes #817 --- src/x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x.c b/src/x.c index 24fd0eac..7cb28c1a 100644 --- a/src/x.c +++ b/src/x.c @@ -446,7 +446,7 @@ void x_draw_decoration(Con *con) { xcb_change_gc(conn, con->pm_gc, XCB_GC_FOREGROUND, (uint32_t[]){ p->color->indicator }); if (con_orientation(con->parent) == HORIZ) xcb_poly_fill_rectangle(conn, con->pixmap, con->pm_gc, 1, (xcb_rectangle_t[]){ - { r->width + br.width + br.x, 0, r->width, r->height + br.height } }); + { r->width + br.width + br.x, br.y, r->width, r->height + br.height } }); else xcb_poly_fill_rectangle(conn, con->pixmap, con->pm_gc, 1, (xcb_rectangle_t[]){ { br.x, r->height + br.height + br.y, r->width - (2 * br.x), r->height } }); -- 2.39.5