[sawfish] add south to the list of options for position matcher



commit 6c0bf1b9462741c12702eb97ee556b2882911544
Author: chrisb <zanghar freenet de>
Date:   Sat Aug 29 21:07:43 2009 +0200

    add south to the list of options for position matcher

 ChangeLog                           |    2 +-
 lisp/sawfish/wm/ext/match-window.jl |    4 +++-
 man/news.texi                       |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0af6e43..c60f12a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,7 +12,7 @@
 
 	* lisp/sawfish/wm/ext/match-window.jl: improve position matcher to bind a window to a position
 	                                       either center north north-east north-west east south south-east
-					       south-west west OR to a user-given position for the former
+					       south-west west south OR to a user-given position for the former
 					       it will also set the gravity of the window to that position
 					       -- [Jeremy Hankins]
 
diff --git a/lisp/sawfish/wm/ext/match-window.jl b/lisp/sawfish/wm/ext/match-window.jl
index 1553c47..64c8aee 100644
--- a/lisp/sawfish/wm/ext/match-window.jl
+++ b/lisp/sawfish/wm/ext/match-window.jl
@@ -73,7 +73,9 @@
     `((placement ,(_ "Placement")
        (ignore-program-position boolean)
        (place-mode ,(lambda () `(choice ,@placement-modes)))
-       (position (or (pair (number -65535) (number -65535)) (choice center north north-east north-west east south-east south-west west)))
+       (position (or 
+                    (pair (number -65535) (number -65535)) 
+                    (choice center east north north-east north-west south south-east south-west west)))
        (dimensions (pair (number 1) (number 1)))
        (workspace (number 1))
        (viewport (pair (number 1) (number 1)))
diff --git a/man/news.texi b/man/news.texi
index 7960671..139ca34 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -62,7 +62,7 @@ they occurred between. For more detailed information see the
 
 @item Added viewport-boundary-mode dynamic (creates a new viewport then hitting the screen-edge) [Jeremy Hankins]
 
- item Improve position matcher to bind a window to a position (either center north north-east north-west east south south-east south-west west) OR to a user-given position [Jeremy Hankins]
+ item Improve position matcher to bind a window to a position (either center east north north-east north-west south south-east south-west west) OR to a user-given position [Jeremy Hankins]
 
 @item When GNOME Integration is loaded, the apps menu now shows the content of the GNOME Menu (uncategorized atm) [Christopher Bratusek]
 



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