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:
parent
53430914f0
commit
c129c23691
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue