X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=engines%2Fopenbox%2Fopenbox.c;h=3fccd2330b1d0357fa344fc40fc886cfa298cd27;hb=6abd9fe80192a2a19b563f20302412520e13b57d;hp=b778563410e074b96825a58874454d30b8a1a685;hpb=4b9556c03174d2c58492531f06eaf3718668162b;p=chaz%2Fopenbox diff --git a/engines/openbox/openbox.c b/engines/openbox/openbox.c index b7785634..3fccd233 100644 --- a/engines/openbox/openbox.c +++ b/engines/openbox/openbox.c @@ -12,8 +12,8 @@ #include #include -#define TITLE_HEIGHT (s_winfont_height + s_bevel * 2) #define LABEL_HEIGHT (s_winfont_height) +#define TITLE_HEIGHT (LABEL_HEIGHT + s_bevel * 2) #define HANDLE_Y(f) (f->innersize.top + f->frame.client->area.height + \ f->cbwidth) #define BUTTON_SIZE (LABEL_HEIGHT - 2) @@ -636,7 +636,7 @@ static void layout_title(ObFrame *self) if (self->label_width < 1) self->label_width = 1; XResizeWindow(ob_display, self->label, self->label_width, - s_winfont_height); + LABEL_HEIGHT); if (!n) { self->frame.client->decorations &= ~Decor_Icon;