From 2d5b1f0a37ab6567be0016172ce3caeb9bc5fa51 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 30 May 2009 11:49:50 +0200 Subject: [PATCH] Bugfix: Send fake configure notify events when moving clients (Thanks Volker) This fixes ticket #47 --- src/floating.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ } /* -- 2.39.5