projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd3ee7
)
menus were too short by a border width
author
Dana Jansens
<danakj@orodu.net>
Tue, 24 Jun 2003 19:22:41 +0000
(19:22 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 24 Jun 2003 19:22:41 +0000
(19:22 +0000)
openbox/menu_render.c
patch
|
blob
|
history
diff --git
a/openbox/menu_render.c
b/openbox/menu_render.c
index
73a539e
..
87ffa91
100644
(file)
--- a/
openbox/menu_render.c
+++ b/
openbox/menu_render.c
@@
-80,7
+80,7
@@
void menu_render_full(Menu *self) {
items_h = self->item_h * MAX(nitems, 1);
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)
XMoveResizeWindow(ob_display, self->title, -ob_rr_theme->bwidth,
-ob_rr_theme->bwidth,