]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t warp the pointer when dragging floating windows
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 15 Mar 2013 18:27:08 +0000 (19:27 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 15 Mar 2013 18:27:08 +0000 (19:27 +0100)
fixes #951

src/floating.c

index 4dd44f574d98699cf896294643543d3761623c5b..49a4122ec2253ea67229e8b11c5efa92060395a8 100644 (file)
@@ -421,6 +421,8 @@ DRAGGING_CB(drag_window_callback) {
     /* Check if we cross workspace boundaries while moving */
     if (!floating_maybe_reassign_ws(con))
         return;
+    /* Ensure not to warp the pointer while dragging */
+    x_set_warp_to(NULL);
     tree_render();
 }