X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.c;h=2c3fb58fc4af040d57fc97e465b212928ceef405;hb=24f258e646d454dda7466649c1d40afbe2760859;hp=2d62b007a276cb84776b7249e4126e5fbfc1a12d;hpb=23d4eb5f4f4f5dbcf2795df180de1fa36ba6c42a;p=chaz%2Fopenbox 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);