projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083a756
)
make the frame before you use the frame..
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 05:25:34 +0000
(
05:25
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 05:25:34 +0000
(
05:25
+0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 719f46a155a7f08387ba5ba8c2e189c8dc08a4f2..d8a28a240252c271bdb9345f741d7e5646d62b70 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-506,11
+506,10
@@
ObClient *client_fake_manage(Window window)
settings = client_get_settings_state(self);
client_setup_decor_and_functions(self);
- /* adjust the decorations so we know the sizes */
- frame_adjust_area(self->frame, FALSE, TRUE, TRUE);
- /* create the decoration frame for the client window */
+ /* create the decoration frame for the client window
and adjust its size
*/
self->frame = frame_new(self);
+ frame_adjust_area(self->frame, FALSE, TRUE, TRUE);
return self;
}