]> git.sur5r.net Git - i3/i3/commitdiff
Revert "Disable render-time pointer warps if asked"
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Jun 2014 11:04:52 +0000 (13:04 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Jun 2014 11:04:52 +0000 (13:04 +0200)
This reverts commit b109b1b20dd51401dc929407453d3acdd8ff5566.

Turns out the change in behavior was unexpected by a number of users, so
let’s revert it and make those users that want this behavior configure
it explicitly.

Sorry for the back-and-forth here.

src/x.c

diff --git a/src/x.c b/src/x.c
index ee638fc26bee0af63e80bcde3d0d00853e1568f1..e1cdc18d7efdf9f82ef746caa1475e197a80d2d7 100644 (file)
--- a/src/x.c
+++ b/src/x.c
@@ -1140,8 +1140,7 @@ void x_set_i3_atoms(void) {
  *
  */
 void x_set_warp_to(Rect *rect) {
-    if (!config.disable_focus_follows_mouse &&
-        config.mouse_warping != POINTER_WARPING_NONE)
+    if (config.mouse_warping != POINTER_WARPING_NONE)
         warp_to = rect;
 }