From bcffde1d83fe1c08c1246acc1ad55060067a910d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 18 Mar 2008 21:55:20 +0100 Subject: [PATCH] Show popup even earlier. But ideally, the window should have moved/resized by now, it doesn't until the next pixel... --- openbox/moveresize.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openbox/moveresize.c b/openbox/moveresize.c index d12a64d..4e473f1 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -268,6 +268,11 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr) moveresize_in_progress = TRUE; waiting_for_sync = 0; + if (moving) + do_move(FALSE, 0); + else + do_resize(); + #ifdef SYNC if (config_resize_redraw && !moving && obt_display_extension_sync && moveresize_client->sync_request && moveresize_client->sync_counter && -- 1.9.1