[sawfish] Minor warp fix in x-cycle. This reduces warping for some cases. Previously, the necessity of a warp



commit e290544b21f5b2c163ef17e9f64596094e70d575
Author: Teika kazura <teika lavabit com>
Date:   Sat Aug 21 08:04:22 2010 +0900

    Minor warp fix in x-cycle. This reduces warping for some cases.
    Previously, the necessity of a warp is judged by the geometry before
    the raise is done. Now the updated one is used.

 lisp/sawfish/wm/commands/x-cycle.jl |    4 ++--
 man/news.texi                       |    6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/lisp/sawfish/wm/commands/x-cycle.jl b/lisp/sawfish/wm/commands/x-cycle.jl
index 1d6c247..a50d4d4 100644
--- a/lisp/sawfish/wm/commands/x-cycle.jl
+++ b/lisp/sawfish/wm/commands/x-cycle.jl
@@ -205,8 +205,8 @@
         (show-window win))
       (when cycle-raise-windows
         (fluid-set x-cycle-stacking (stacking-order))
-        (warp-pointer-if-necessary win)
-        (raise-window* win))
+        (raise-window* win)
+	(warp-pointer-if-necessary win))
       (when cycle-show-window-names
         (cycle-display-message))
       (when (window-really-wants-input-p win)
diff --git a/man/news.texi b/man/news.texi
index bd26195..c583b7f 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -151,6 +151,12 @@ If you run the configurator but the Sawfish window manager is absent,
 then an alert window is displayed before abortion. The appearance is
 poor, though.
 
+ item Pointer warping in window cycling [Teika Kazura]
+
+In window cycling, some unnecessary pointer warping is avoided.
+Previously, the necessity of a warp was judged by the geometry before
+the raise was done. Now the updated one is used.
+
 @item Module @code{3d-hack} is not autoloaded anymore.
 
 @item Doc improvements



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