don't map the client window when grabbing the frame. we need to set up the client and send configurenotifies and stuff *before* sending the map notify

This commit is contained in:
Dana Jansens 2007-05-26 19:46:28 +00:00
parent 16ae58681e
commit 47a4c3324a

View file

@ -860,9 +860,6 @@ void frame_grab_client(ObFrame *self)
req's) the ButtonPress is to catch clicks on the client border */ req's) the ButtonPress is to catch clicks on the client border */
XSelectInput(ob_display, self->plate, PLATE_EVENTMASK); XSelectInput(ob_display, self->plate, PLATE_EVENTMASK);
/* map the client so it maps when the frame does */
XMapWindow(ob_display, self->client->window);
/* 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);