From: Dana Jansens Date: Thu, 14 Jan 2010 19:57:18 +0000 (-0500) Subject: don't resize the label to 0 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ba747518bb400a02e43b69602d90e39dea0ea9a3;p=chaz%2Fopenbox don't resize the label to 0 --- 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)