Merge branch 'fix-indicator-pos'
This commit is contained in:
commit
2d0b60bd58
2
src/x.c
2
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 });
|
xcb_change_gc(conn, con->pm_gc, XCB_GC_FOREGROUND, (uint32_t[]){ p->color->indicator });
|
||||||
if (con_orientation(con->parent) == HORIZ)
|
if (con_orientation(con->parent) == HORIZ)
|
||||||
xcb_poly_fill_rectangle(conn, con->pixmap, con->pm_gc, 1, (xcb_rectangle_t[]){
|
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
|
else
|
||||||
xcb_poly_fill_rectangle(conn, con->pixmap, con->pm_gc, 1, (xcb_rectangle_t[]){
|
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 } });
|
{ br.x, r->height + br.height + br.y, r->width - (2 * br.x), r->height } });
|
||||||
|
Loading…
Reference in New Issue
Block a user