set the frame's initial size to something invalid so the extents hint will be

set for sure the first time.
This commit is contained in:
Dana Jansens 2010-05-19 16:11:59 -04:00
parent 53430914f0
commit c129c23691

View file

@ -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;