Bugfix: Send fake configure notify events when moving clients (Thanks Volker)

This fixes ticket #47
next
Michael Stapelberg 2009-05-30 11:49:50 +02:00
parent fccbdea925
commit 2d5b1f0a37
1 changed files with 4 additions and 1 deletions

View File

@ -182,7 +182,10 @@ static void drag_window_callback(xcb_connection_t *conn, Client *client, border_
client->rect.x = old_rect->x + (new_x - event->root_x);
client->rect.y = old_rect->y + (new_y - event->root_y);
reposition_client(conn, client);
xcb_flush(conn);
/* Because reposition_client does not send a faked configure event (only resize does),
* we need to initiate that on our own */
fake_absolute_configure_notify(conn, client);
/* fake_absolute_configure_notify flushes */
}
/*