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>
Sun, 19 Sep 2010 16:06:21 +0000 (18:06 +0200)
But ideally, the window should have moved/resized by now, it doesn't until the next pixel...

openbox/moveresize.c

index 2f68395..4ca38f9 100644 (file)
@@ -262,6 +262,10 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
     cur_h = start_ch;
 
     moveresize_in_progress = TRUE;
+    if (moving)
+        do_move(FALSE, 0);
+    else
+        do_resize();
 
 #ifdef SYNC
     if (config_resize_redraw && !moving && obt_display_extension_sync &&