X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=openbox%2Fframe.c;fp=openbox%2Fframe.c;h=8835c6326b15836e499b39b3fc5046437d92ec9f;hp=084f3f6accd60c6040f6a6adf6bcf7044de93b1e;hb=3bd4397b6ec5212bfe53a36892746962dc45dbeb;hpb=937b529893cb93859245ad2f0e46d31bfd2f8097 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)