Merge pull request #193 from baskerville/fix-end-x

Fix {top,bottom}_end_x strut value
This commit is contained in:
LemonBoy 2016-11-16 12:25:06 +01:00 committed by GitHub
commit 50fe7d2083
1 changed files with 2 additions and 2 deletions

View File

@ -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]);