[sawfish] Doc. * Improvement of news and man on the new "border" feature. * A new faq item on how to hide the



commit 94537db6ee568fa5059c854e28d8ffad3251b2f5
Author: Teika kazura <teika lavabit com>
Date:   Sun Jun 20 21:23:10 2010 +0900

    Doc.
    * Improvement of news and man on the new "border" feature.
    * A new faq item on how to hide the mouse pointer.
    * Added Daniel M. German to "thanks" list.
    * And so on.

 CONTRIBUTING                           |    1 +
 lisp/sawfish/wm/ext/old-window-menu.jl |    3 ++-
 man/faq.texi                           |    4 ++++
 man/news.texi                          |    6 +++++-
 man/sawfish-client.1                   |    2 ++
 man/sawfish.texi                       |   12 +++++-------
 src/display.c                          |    4 ++--
 src/libclient.h                        |    2 +-
 8 files changed, 22 insertions(+), 12 deletions(-)
---
diff --git a/CONTRIBUTING b/CONTRIBUTING
index 087b463..b6bd350 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -76,6 +76,7 @@ Christopher Bratusek (Maintainer since Dec 2008)
  - Andrea Vettorello for a lot of wok on wiki and several patches
  - Christopher Bratusek for numerous patches & cleanup and other active contribution
  - Dagfinn I. Mannsake for enter-click focus mode patch and xterm command patch
+ - Daniel M. German for RandR support.
  - David T. McWherter for Infinite-Desktop
  - Derek Upham for his documentation
  - Fuchur for xinerama placement patch
diff --git a/lisp/sawfish/wm/ext/old-window-menu.jl b/lisp/sawfish/wm/ext/old-window-menu.jl
index 5ba7d91..8fdada3 100644
--- a/lisp/sawfish/wm/ext/old-window-menu.jl
+++ b/lisp/sawfish/wm/ext/old-window-menu.jl
@@ -19,7 +19,8 @@
 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
 ;; This is the "old" window menu. By default, beos-window-menu is used
-;; instead. Maybe can be deleted.
+;; instead. But **DON'T** remove. There sure exist those who use it,
+;; according to a questionnaire.
 
 ;; Usage: add (require 'sawfish.wm.ext.old-window-menu) in your rc file.
 
diff --git a/man/faq.texi b/man/faq.texi
index 01b4e27..34eb2b1 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -208,6 +208,10 @@ at least the size of the X screen, so the workspace has to containt
 all heads. ``Per head workspace'' has to be implemented as a new
 mechanism on top of workspace.
 
+ item How can I hide the mouse pointer when idle?
+
+Install ``unclutter''.
+
 @item Why don't you use GUILE?
 
 Mainly because I'm lazy; I had already written rep, and therefore
diff --git a/man/news.texi b/man/news.texi
index 01a7a25..bf30ea3 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -15,8 +15,12 @@ they occurred between. For more detailed information see the
 
 @item New Features
 @itemize @minus
- item Added border_with and border_color frame-part attributes
+ item New frame parts @code{border-width} and @code{border-color}
 [Alexey I. Froloff]
+
+A ``border'' of a window surrounds the window and all other frame
+parts. (@pxref{Frame Part Definition})
+
 @end itemize
 @end itemize
 
diff --git a/man/sawfish-client.1 b/man/sawfish-client.1
index 0655ad2..beb42b3 100644
--- a/man/sawfish-client.1
+++ b/man/sawfish-client.1
@@ -25,6 +25,8 @@ Evaluate Lisp form \fIFORM\fR on the server
 Read lines of input until \fIEOF\fR, evaluating each one as it is read 
 .IP "\fB\-\-\fP" 10 
 Read forms from standard input until \fIEOF\fR, evaluating the whole lot in one go (inside a progn) 
+.IP "\fB\-\-help\fP" 10
+Prints help.
 .SH "SEE ALSO" 
 .PP 
 Sawfish are documented fully by \fIJohn Harper\fP       available via the \fBInfo\fP system . 
diff --git a/man/sawfish.texi b/man/sawfish.texi
index 0f911d6..f37c565 100644
--- a/man/sawfish.texi
+++ b/man/sawfish.texi
@@ -3631,10 +3631,11 @@ Defines the width of the frame part.
 Defines the height of the frame part.
 
 @item (border-width . @var{value})
-Defines window border width.
-
- item (border-color . @var{value})
-Defines window border color.
+ itemx (border-color . @var{value})
+Defines the border width and color. A ``border'' if present surrounds
+the window and all other frame parts. Both width and color are applied
+to the whole window instead of current frame part. (Thus they should
+be properties of window, not frame parts. Sorry.)
 
 @item (keymap . @var{value})
 Defines the keymap to use when evaluating events originating in this
@@ -3671,9 +3672,6 @@ function will be called (with a single argument, the window object)
 when the frame is constructed, the value returned will be used as the
 actual value of the attribute.
 
-The values specified for the @code{border-width} and @code{border-color}
-are applied for the whole window instead of current frame part.
-
 The coordinate system used for specifying the part's position is
 relative to the window edge that the position is defined against.
 Positive values count in from the window edge towards the center of the
diff --git a/src/display.c b/src/display.c
index c35ba6d..b9c47fc 100644
--- a/src/display.c
+++ b/src/display.c
@@ -343,8 +343,8 @@ sys_init(char *program_name)
 		return FALSE;
 	    }
 
-	    // This is used to prevent two Sawfish running.
-	    // (Not sure for other WMs.)
+	    /* Error handler is used to prevent from two Sawfish running.
+	     * (Not sure for other WMs.) */
 	    XSetErrorHandler (error_other_wm);
 	    XSelectInput (dpy, root_window, ROOT_EVENTS);
 	    XSync (dpy, False);
diff --git a/src/libclient.h b/src/libclient.h
index adac228..e3922d8 100644
--- a/src/libclient.h
+++ b/src/libclient.h
@@ -1,4 +1,4 @@
-/* libclient.c -- shared code for client program to communicate with server
+/* libclient.h -- shared code for client program to communicate with server
    $Id$
 
    Copyright (C) 1999 John Harper <john dcs warwick ac uk>



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