From ba747518bb400a02e43b69602d90e39dea0ea9a3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 14 Jan 2010 14:57:18 -0500 Subject: [PATCH] don't resize the label to 0 --- openbox/frame.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbox/frame.c b/openbox/frame.c index 20697d32..67adb405 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -862,10 +862,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(ob_display, self->label, self->label_width, ob_rr_theme->label_height); - + } } static void frame_adjust_cursors(ObFrame *self) -- 2.44.0