Johnny <yggdra...@gmx.co.uk> writes:

> Hi,
>
> I updated my stumpwm some time ago and have noticed that when resizing a
> floating group window these days by right clicking on the upper border
> of the window, the mouse pointer is relocated to the lower right hand
> corner. I preferred the old behaviour where the mouse pointer was not
> relocated, is there some way to restore this?
>
> Stumpwm version is 0.9.7-80.
>
> Thanks!


That change appears to be in commit
486f742129bb0edfdf1ed20e369fb1a45385daab:

--8<---------------cut here---------------start------------->8---
+      ;; When resizing warp pointer to left-right corner
+      (multiple-value-bind (relx rely same-screen-p child state-mask)
+          (xlib:query-pointer (window-parent window))
+        (declare (ignore relx rely same-screen-p child))
+        (when (find :button-3 (xlib:make-state-keys state-mask))
+          (xlib:warp-pointer (window-parent window) initial-width 
initial-height)))
--8<---------------cut here---------------end--------------->8---

Hope this helps.
-- 
Pedro

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

Reply via email to