The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Disabling cursor warping

asked Mar 6 '14

mkaito gravatar image

When you focus another output, either directly or by focusing a workspace or container in another output, it will warp the mouse cursor to the middle of the newly focused container. I find this to be highly annoying. Is there anything I can do to disable this behaviour?

2 answers

Sort by » oldest newest most voted
1

answered Oct 12 '14

TonyC gravatar image

From the userguide: http://i3wm.org/docs/userguide.html#mousewarping

With the mouse_warping option, you can control when the mouse cursor should be warped. none disables warping entirely, whereas output is the default behavior described above.

Example:

mouse_warping none
0

answered Mar 6 '14

Pinyaka gravatar image

updated Oct 13 '14

Michael gravatar image

You could disable the focus following the mouse by adding focus_follows_mouse no to your i3 configuration file.

Comments

The other way around. I don't want the mouse following focus.

mkaito gravatar imagemkaito (Mar 7 '14)edit

In the next version, this will also disable pointer warping

TonyC gravatar imageTonyC (Mar 8 '14)edit

I don't have enough karma to edit: the setting is actually `focus_follows_mouse` (note the extra s). It does disable warping on recent versions (I'm using 4.7.2).

xenomachina gravatar imagexenomachina (Oct 9 '14)edit

`focus_follows_mouse` no longer disables pointer warping. Use the `mouse_warping` config option.

TonyC gravatar imageTonyC (Oct 12 '14)edit

Does `focus_follows_mouse no` still prevent the focus from moving to whatever workspace the mouse is hovering over?

Pinyaka gravatar imagePinyaka (Oct 22 '14)edit

Question Tools

Stats

Asked: Mar 6 '14

Seen: 928 times

Last updated: Oct 13 '14