projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d16484
)
+1 in the wrong place meant bad decorations
author
Dana Jansens
<danakj@orodu.net>
Sat, 26 May 2007 15:22:18 +0000
(15:22 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 26 May 2007 15:22:18 +0000
(15:22 +0000)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index f3425ba3a840d386128980e61af597e75bbf5788..1ca7727f50565b16f828681a3bac380cf4753a39 100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-356,7
+356,7
@@
void frame_adjust_area(ObFrame *self, gboolean moved,
/* some elements are sized based of the width, so don't let them have
negative values */
self->width = MAX(self->width,
- (ob_rr_theme->grip_width + self->bwidth) * 2
) + 1
;
+ (ob_rr_theme->grip_width + self->bwidth) * 2
+ 1)
;
STRUT_SET(self->size,
self->cbwidth_x + (!self->max_horz ? self->bwidth : 0),