Show popup even earlier.
authorMikael Magnusson <mikachu@comhem.se>
Tue, 18 Mar 2008 20:55:20 +0000 (21:55 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Sat, 11 Oct 2014 00:17:18 +0000 (02:17 +0200)
But ideally, the window should have moved/resized by now, it doesn't until the next pixel...

openbox/moveresize.c

index d12a64d..4e473f1 100644 (file)
@@ -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 &&