From: Michael Stapelberg Date: Fri, 15 Mar 2013 18:27:08 +0000 (+0100) Subject: Bugfix: Don’t warp the pointer when dragging floating windows X-Git-Tag: 4.5.1~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=083611e4343837ff990a939616489a011e84e688;p=i3%2Fi3 Bugfix: Don’t warp the pointer when dragging floating windows fixes #951 --- diff --git a/src/floating.c b/src/floating.c index 4dd44f57..49a4122e 100644 --- a/src/floating.c +++ b/src/floating.c @@ -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(); }