menus were too short by a border width
This commit is contained in:
parent
6dd3ee7271
commit
b61a41c6b1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void menu_render_full(Menu *self) {
|
||||||
items_h = self->item_h * MAX(nitems, 1);
|
items_h = self->item_h * MAX(nitems, 1);
|
||||||
|
|
||||||
XResizeWindow(ob_display, self->frame, self->size.width,
|
XResizeWindow(ob_display, self->frame, self->size.width,
|
||||||
MAX(self->title_h + items_h, 1));
|
MAX(self->title_h + items_h + ob_rr_theme->bwidth, 1));
|
||||||
if (self->label)
|
if (self->label)
|
||||||
XMoveResizeWindow(ob_display, self->title, -ob_rr_theme->bwidth,
|
XMoveResizeWindow(ob_display, self->title, -ob_rr_theme->bwidth,
|
||||||
-ob_rr_theme->bwidth,
|
-ob_rr_theme->bwidth,
|
||||||
|
|
Loading…
Reference in a new issue