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:
23d4eb5
)
size the frame properly on mapping
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 03:52:53 +0000
(
03:52
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 03:52:53 +0000
(
03:52
+0000)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index
2d62b00
..
2c3fb58
100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-577,6
+577,9
@@
void frame_grab_client(ObFrame *self, ObClient *client)
/* map the client so it maps when the frame does */
XMapWindow(ob_display, client->window);
+ /* adjust the frame to the client's size */
+ frame_adjust_area(self, FALSE, TRUE, FALSE);
+
/* set all the windows for the frame in the window_map */
g_hash_table_insert(window_map, &self->window, client);
g_hash_table_insert(window_map, &self->plate, client);