Changing mouse_warping at runtime?
I have a mode that lets me move workspaces around from output to output. Unfortunately, when I move a workspace, the mouse/pointer/focus follow along, which means having to drag it back to where I want it if I'm not done with the mode.
Apparently mouse_warping
isn't a command but a configuration directive (distinction between these in the userguide does not seem very clear to me), so it seems it's either on (output
) or off (none
) for the entire environment.
What I'd like to do is have a binding such as
bindsym $mod+Shift+w mouse_warping none ; mode "wsmgr" ; mouse_warping output
or, even better, a mouse_warping toggle
mechanism.
(As far as that goes, it's unclear whether a semi-colon entries following a mode
command are actionable..)