This feature already exists, in the form of *mouse-focus-policy*. I'm a
bit surprised I can't find it in the manual, but it's defined and
documented here:

https://github.com/stumpwm/stumpwm/blob/e6dde22d940f4c1450da3d0f7e53aeb459f900e1/primitives.lisp#L1125.

--
  Joram

On Tue, Mar 7, 2017, at 08:05 AM, Jean Louis wrote:
> Hello,
> 
> It would be good to implement the mouse focus feature, when mouse
> moves to a window, that window get the focus. Such feauture could be
> turned on by setting t or nil in some option.
> 
> Jean Louis
> 
> _______________________________________________
> Stumpwm-devel mailing list
> Stumpwm-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to