bar/xcb: ignore non-zero border margins

This commit is contained in:
Daniel Eklöf 2019-02-17 19:45:26 +01:00
parent 0ab772f869
commit 28d39f3aec
3 changed files with 14 additions and 5 deletions

View file

@ -656,6 +656,7 @@ setup(struct bar *_bar)
return false;
}
assert(backend->width <= backend->monitor->width_px);
bar->width = backend->width;
if (pipe(backend->pipe_fds) == -1) {