From: Michael Stapelberg Date: Sat, 30 May 2009 09:49:50 +0000 (+0200) Subject: Bugfix: Send fake configure notify events when moving clients (Thanks Volker) X-Git-Tag: 3.b~87 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d5b1f0a37ab6567be0016172ce3caeb9bc5fa51;p=i3%2Fi3 Bugfix: Send fake configure notify events when moving clients (Thanks Volker) This fixes ticket #47 --- diff --git a/src/floating.c b/src/floating.c index 7ee53638..90064c29 100644 --- a/src/floating.c +++ b/src/floating.c @@ -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 */ } /*