X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=openbox%2Fframe.c;fp=openbox%2Fframe.c;h=dfb9c49a2e0c586f56f36efe36c08f9bfc770d40;hp=0f2d56ebaf7ce37c6e55c445444f7328afe94ced;hb=d67b818ae90c5574166d08422d3e9a68d8d65e16;hpb=9325c92056ff4268db2263cdf8c07bb529e158aa diff --git a/openbox/frame.c b/openbox/frame.c index 0f2d56eb..dfb9c49a 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -387,11 +387,10 @@ void frame_adjust_area(ObFrame *self, gboolean moved, if (self->decorations & OB_FRAME_DECOR_TITLEBAR) self->size.top += ob_rr_theme->title_height + self->bwidth; else if (self->max_horz && self->max_vert) { - /* A maximized and undecorated window needs a small border on the + /* A maximized and undecorated window needs a border on the top of the window to let the user still undecorate/unmaximize the window via the client menu. */ - /* XXX This size should probably be a theme option. */ - self->size.top += 1; + self->size.top += self->bwidth; } if (self->decorations & OB_FRAME_DECOR_HANDLE &&