Hi,

According to this thread:
http://lists.nongnu.org/archive/html/stumpwm-devel/2012-07/msg00001.html
the warp pointer when resizing in floating group doesn't receive much
love. So as I'm rarely using stumpwm these days I think it should die.

Here's a patch for someone with the credential to apply to the official
repo.

>From be235a260189accd7963462b5298e8ff865c724f Mon Sep 17 00:00:00 2001
From: Manuel Giraud <man...@ledu-giraud.fr>
Date: Fri, 24 Aug 2012 11:33:17 +0200
Subject: [PATCH] no more pointer warping in floating-group

---
 floating-group.lisp |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/floating-group.lisp b/floating-group.lisp
index d73dcfe..4d5e4f3 100644
--- a/floating-group.lisp
+++ b/floating-group.lisp
@@ -200,14 +200,6 @@
               (< y (xlib:drawable-y (window-xwin window)))
               (> y (+ (xlib:drawable-height (window-xwin window))
                       (xlib:drawable-y (window-xwin window)))))
-
-      ;; 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)))
-
       (multiple-value-bind (relx rely same-screen-p child state-mask)
           (xlib:query-pointer (window-parent window))
         (declare (ignore same-screen-p child))
-- 
1.7.6

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

Reply via email to