[sawfish] fixed cursor warping in infinite-desktop
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Subject: [sawfish] fixed cursor warping in infinite-desktop
- Date: Fri, 24 Jul 2009 18:46:46 +0000 (UTC)
commit e0d3f924b32df5b2ec48c4291d583e36347d4796
Author: chrisb <zanghar freenet de>
Date: Fri Jul 24 20:45:41 2009 +0200
fixed cursor warping in infinite-desktop
ChangeLog | 2 ++
lisp/sawfish/wm/ext/infinite-desktop.jl | 4 ++--
man/news.texi | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0180e38..865d3a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* configure.in: require librep 0.90.1
+ * lisp/sawfish/wm/ext/infinite-desktop.jl: fixed cursor warping [Jeremy Hankins]
+
2009-07-18 Christopher Bratusek <zanghar freenet de>
* lisp/sawfish/gtk/widget.jl: - allow negative values in spinbuttons in sawfish-ui
- connect spinbuttons to value-changed signal (allows typing in the value manually)
diff --git a/lisp/sawfish/wm/ext/infinite-desktop.jl b/lisp/sawfish/wm/ext/infinite-desktop.jl
index d97d9d8..549a557 100644
--- a/lisp/sawfish/wm/ext/infinite-desktop.jl
+++ b/lisp/sawfish/wm/ext/infinite-desktop.jl
@@ -91,7 +91,7 @@
(< (+ viewport-x-offset dist) minx))
(setq dist (- minx viewport-x-offset)))
(set-viewport (+ viewport-x-offset dist) viewport-y-offset)
- (move-cursor (max dist cdist) 0)))
+ (move-cursor (- (max dist cdist)) 0)))
(define (infinite-desktop.move-top)
(let ((dist (- infinite-desktop.move-distance))
@@ -102,7 +102,7 @@
(< (+ viewport-y-offset dist) miny))
(setq dist (- miny viewport-y-offset)))
(set-viewport viewport-x-offset (+ viewport-y-offset dist))
- (move-cursor 0 (max dist cdist))))
+ (move-cursor 0 (- (max dist cdist)))))
(define (infinite-desktop.move-bottom)
(let ((dist infinite-desktop.move-distance)
diff --git a/man/news.texi b/man/news.texi
index e60f30c..a64ae1d 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -24,6 +24,8 @@ they occurred between. For more detailed information see the
@itemize @minus
@item SpinButtons in Sawfish-UI are now connected to correct singal (allows typing in the value manually) [Christoper Bratusek]
+
+ item Fix cursor warping in Infinite-Desktop [Jeremy Hankins]
@end itemize
@item New features:
@itemize @minus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]