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:
363f655
)
position titlebars better, was missing a bwidth
author
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 04:19:22 +0000
(
04:19
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 04:19:22 +0000
(
04:19
+0000)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index b85b10894ab34e8035abf9753cad3727c3d07f2d..e6974005cc367591229430a074db318094df6367 100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-399,7
+399,8
@@
static void layout_title(Frame *self)
n = d = i = l = m = c = s = FALSE;
/* figure out whats being shown, and the width of the label */
- self->label_width = self->width - (ob_theme->bevel + 1) * 2;
+ self->label_width = self->width -
+ (ob_theme->bwidth + ob_theme->bevel + 1) * 2;
for (lc = ob_theme->title_layout; *lc != '\0'; ++lc) {
switch (*lc) {
case 'N':