stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] Floating group resize warp pointer issue


From: Manuel Giraud
Subject: [STUMP] Floating group resize warp pointer issue
Date: Fri, 24 Aug 2012 13:14:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (berkeley-unix)

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 <address@hidden>
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]