summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-14 16:19:57 -0500
committerDana Jansens <danakj@orodu.net>2010-01-14 16:19:57 -0500
commit3bd4397b6ec5212bfe53a36892746962dc45dbeb (patch)
tree0aa06742564779de5995e9145368da1275cee3bd /openbox
parent937b529893cb93859245ad2f0e46d31bfd2f8097 (diff)
parent374888f5e9c3c98204a708ef40afec86d136d836 (diff)
Merge branch 'backport' into work
Conflicts: openbox/frame.c
Diffstat (limited to 'openbox')
-rw-r--r--openbox/frame.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 084f3f6a..8835c632 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -861,10 +861,12 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
if (focus_cycle_target == self->client)
focus_cycle_update_indicator(self->client);
}
- if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR))
+ if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR) &&
+ self->label_width)
+ {
XResizeWindow(obt_display, self->label, self->label_width,
ob_rr_theme->label_height);
-
+ }
}
static void frame_adjust_cursors(ObFrame *self)