summaryrefslogtreecommitdiff
path: root/openbox/frame.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-02 21:19:49 +0000
committerDana Jansens <danakj@orodu.net>2007-06-02 21:19:49 +0000
commit439d2c62fa83e4a233ea44f3eb5d706c6edfc3df (patch)
tree446bf17fcee7e18c6feaedcb755eeb3a233185cc /openbox/frame.c
parent25f215444b3c8e7b186b9c3892a9a4f659e79998 (diff)
remove the title separator width thing.
add a separate color for the title separator
Diffstat (limited to 'openbox/frame.c')
-rw-r--r--openbox/frame.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 6ca718c8..8ce2a16d 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -365,7 +365,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
self->cbwidth_b + (!self->max_horz || !self->max_vert ? self->bwidth : 0));
if (self->decorations & OB_FRAME_DECOR_TITLEBAR)
- self->size.top += ob_rr_theme->title_height + ob_rr_theme->tswidth;
+ self->size.top += ob_rr_theme->title_height + self->bwidth;
if (self->decorations & OB_FRAME_DECOR_HANDLE &&
ob_rr_theme->handle_height > 0)
{
@@ -468,14 +468,12 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
XMapWindow(ob_display, self->titletopleft);
XMapWindow(ob_display, self->titletopright);
- if (self->decorations & OB_FRAME_DECOR_TITLEBAR &&
- ob_rr_theme->tswidth)
- {
+ if (self->decorations & OB_FRAME_DECOR_TITLEBAR) {
XMoveResizeWindow(ob_display, self->titlebottom,
self->bwidth,
ob_rr_theme->title_height + self->bwidth,
self->width,
- ob_rr_theme->tswidth);
+ self->bwidth);
XMapWindow(ob_display, self->titlebottom);
} else