Revert "Disable render-time pointer warps if asked"
This reverts commit b109b1b20d
.
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.
This commit is contained in:
parent
a1f6bfbf7e
commit
1f9057bc4b
3
src/x.c
3
src/x.c
|
@ -1140,8 +1140,7 @@ void x_set_i3_atoms(void) {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void x_set_warp_to(Rect *rect) {
|
void x_set_warp_to(Rect *rect) {
|
||||||
if (!config.disable_focus_follows_mouse &&
|
if (config.mouse_warping != POINTER_WARPING_NONE)
|
||||||
config.mouse_warping != POINTER_WARPING_NONE)
|
|
||||||
warp_to = rect;
|
warp_to = rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue