]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
lots of fixes for the iconify animation. i think it should all work perfectly now ?
[chaz/openbox] / openbox / moveresize.c
index 868c0c25ceb2477906cd21bbf8a296fbe8d9ecbd..9f9d4dfda388080c2512a5dd4c0b586b11c9d190 100644 (file)
@@ -153,12 +153,14 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
     moving = (cnr == prop_atoms.net_wm_moveresize_move ||
               cnr == prop_atoms.net_wm_moveresize_move_keyboard);
 
-    if (moveresize_in_progress || !c->frame->visible ||
+    if (moveresize_in_progress || !frame_visible(c->frame) ||
         !(moving ?
           (c->functions & OB_CLIENT_FUNC_MOVE) :
           (c->functions & OB_CLIENT_FUNC_RESIZE)))
         return;
 
+    frame_end_iconify_animation(c->frame);
+
     moveresize_client = c;
     start_cx = c->area.x;
     start_cy = c->area.y;
This page took 0.020277 seconds and 4 git commands to generate.