projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5343091
)
set the frame's initial size to something invalid so the extents hint will be
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 May 2010 20:11:59 +0000
(16:11 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 20 May 2010 01:38:46 +0000
(21:38 -0400)
set for sure the first time.
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index
571ddc0
..
4f26255
100644
(file)
--- 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;