Scott Jaderholm <jaderh...@gmail.com> writes:

> The behavior of 0003 is kind of weird. If the resize click was on the
> right or bottom side of the window then restoring the cursor often
> restores it to an odd position now that the window is changed.

Hum, you're right i think i'd better remove the "restore position"
behaviour. Here's a patch that will do on top of the previous ones:
>From cbbbb117f3fed1f426a2d1425f0d79752c34bd1d Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel.gir...@univ-nantes.fr>
Date: Thu, 18 Aug 2011 09:58:01 +0200
Subject: [PATCH 7/7] Don't restore pointer position after a resize in
 float-group

---
 floating-group.lisp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/floating-group.lisp b/floating-group.lisp
index a501068..4c53ee5 100644
--- a/floating-group.lisp
+++ b/floating-group.lisp
@@ -216,10 +216,7 @@
         (labels ((move-window-event-handler
                      (&rest event-slots &key event-key &allow-other-keys)
                    (case event-key
-                     (:button-release
-                      ;; Reset pointer to initial position when done
-                      (xlib:warp-pointer (window-parent window) x y)
-                      :done)
+                     (:button-release :done)
                      (:motion-notify
                       (with-slots (parent) window
                         (xlib:with-state (parent)
-- 
1.7.6

> If you're looking for something else floating related to work on, I
> think dumping desktops with floating groups would be really nice.

Maybe I'll give a try. In fact, i'm not that interested in floating
group: I use it for just one application that would be a nightmare with
the tiling behaviour (and i can avoid starting another wm in an Xnest).

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

Reply via email to