From: Dana Jansens Date: Wed, 19 May 2010 20:11:59 +0000 (-0400) Subject: set the frame's initial size to something invalid so the extents hint will be X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=commitdiff_plain;h=c129c236919694e8daef2250f0485a933478b1dc set the frame's initial size to something invalid so the extents hint will be set for sure the first time. --- diff --git a/openbox/frame.c b/openbox/frame.c index 571ddc04..4f262554 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -188,6 +188,10 @@ ObFrame *frame_new(ObClient *client) self->max_hover = self->close_hover = self->desk_hover = self->iconify_hover = self->shade_hover = FALSE; + /* make sure the size will be different the first time, so the extent hints + will be set */ + STRUT_SET(self->size, -1, -1, -1, -1); + set_theme_statics(self); return self;