don't adjust the decorations while the server is grabbed, move it to client.c
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 02:44:50 +0000 (02:44 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 02:44:50 +0000 (02:44 +0000)
openbox/frame.c

index 5fd3671..68a6434 100644 (file)
@@ -576,9 +576,6 @@ void frame_grab_client(ObFrame *self)
     /* map the client so it maps when the frame does */
     XMapWindow(ob_display, self->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, self->client);
     g_hash_table_insert(window_map, &self->plate, self->client);