Bugfix: Don’t warp the pointer when dragging floating windows

fixes #951
This commit is contained in:
Michael Stapelberg 2013-03-15 19:27:08 +01:00
parent aea25407df
commit 083611e434

View File

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