don't adjust the decorations while the server is grabbed, move it to client.c

This commit is contained in:
Dana Jansens 2007-05-11 02:44:50 +00:00
parent 58788b9c16
commit caba57b694

View file

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