X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.c;h=8835c6326b15836e499b39b3fc5046437d92ec9f;hb=3bd4397b6ec5212bfe53a36892746962dc45dbeb;hp=6387d7ef113528e44decc1ba1718fd1bb8c2b249;hpb=965ed8907a5dd81d5ffbc93b67a672fa78833854;p=chaz%2Fopenbox diff --git a/openbox/frame.c b/openbox/frame.c index 6387d7ef..8835c632 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -28,7 +28,7 @@ #include "focus_cycle_indicator.h" #include "moveresize.h" #include "screen.h" -#include "render/theme.h" +#include "obrender/theme.h" #include "obt/display.h" #include "obt/prop.h" @@ -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)