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

openbox/moveresize.c

index 64c842eacf600808b8e2ada5d3bd6c040f4bd295..cbae285166706c77632910def708bf29d61cae24 100644 (file)
@@ -255,6 +255,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 &&