forked from external/yambar
bar/xcb: ignore non-zero border margins
This commit is contained in:
parent
0ab772f869
commit
28d39f3aec
3 changed files with 14 additions and 5 deletions
|
@ -46,6 +46,14 @@ setup(struct bar *_bar)
|
|||
struct private *bar = _bar->private;
|
||||
struct xcb_backend *backend = bar->backend.data;
|
||||
|
||||
if (bar->border.left_margin != 0 ||
|
||||
bar->border.right_margin != 0 ||
|
||||
bar->border.top_margin != 0 ||
|
||||
bar->border.bottom_margin)
|
||||
{
|
||||
LOG_WARN("non-zero border margins ignored in X11 backend");
|
||||
}
|
||||
|
||||
/* TODO: a lot of this (up to mapping the window) could be done in bar_new() */
|
||||
xcb_generic_error_t *e;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue