diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-09 03:52:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-09 03:52:53 +0000 |
| commit | 24f258e646d454dda7466649c1d40afbe2760859 (patch) | |
| tree | fd3c70cc96654aa3ad3c24a82f9a23f7cd7556e0 | |
| parent | 23d4eb5f4f4f5dbcf2795df180de1fa36ba6c42a (diff) | |
size the frame properly on mapping
| -rw-r--r-- | openbox/frame.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index 2d62b007..2c3fb58f 100644 --- 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); |
