Skip to content

Commit

Permalink
Merge pull request #193 from baskerville/fix-end-x
Browse files Browse the repository at this point in the history
Fix {top,bottom}_end_x strut value
  • Loading branch information
LemonBoy committed Nov 16, 2016
2 parents d680ea4 + 84be3d8 commit 50fe7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lemonbar.c
Expand Up @@ -752,11 +752,11 @@ set_ewmh_atoms (void)
if (topbar) {
strut[2] = bh;
strut[8] = mon->x;
strut[9] = mon->x + mon->width;
strut[9] = mon->x + mon->width - 1;
} else {
strut[3] = bh;
strut[10] = mon->x;
strut[11] = mon->x + mon->width;
strut[11] = mon->x + mon->width - 1;
}

xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, atom_list[NET_WM_WINDOW_TYPE], XCB_ATOM_ATOM, 32, 1, &atom_list[NET_WM_WINDOW_TYPE_DOCK]);
Expand Down

0 comments on commit 50fe7d2

Please sign in to comment.