From c129c236919694e8daef2250f0485a933478b1dc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 May 2010 16:11:59 -0400 Subject: [PATCH] set the frame's initial size to something invalid so the extents hint will be set for sure the first time. --- openbox/frame.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.45.2