[sawfish] Doc. Comments in source. New file lisp/sawfish/gtk/README describes the diretory's contents.



commit 2753b66538ccca35d06699e63ac019e6ba28ab0b
Author: Teika kazura <teika lavabit com>
Date:   Sat Feb 6 14:15:41 2010 +0900

    Doc.
    Comments in source.
    New file lisp/sawfish/gtk/README describes the diretory's contents.

 lisp/sawfish/gtk/README |    5 +++++
 src/display.c           |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/lisp/sawfish/gtk/README b/lisp/sawfish/gtk/README
new file mode 100644
index 0000000..b09d406
--- /dev/null
+++ b/lisp/sawfish/gtk/README
@@ -0,0 +1,5 @@
+This directory contains high-level components, or "widgets" for
+sawfish-config, *not* raw gtk widgets.
+
+For example, 'boolean' is defined in widget.jl, among other widgets.
+It implements checkbox for boolean defcustom options.
diff --git a/src/display.c b/src/display.c
index 41624e0..d1378b0 100644
--- a/src/display.c
+++ b/src/display.c
@@ -347,6 +347,8 @@ sys_init(char *program_name)
 		return FALSE;
 	    }
 
+	    // This is used to prevent two Sawfish running.
+	    // (Not sure for other WMs.)
 	    XSetErrorHandler (error_other_wm);
 	    XSelectInput (dpy, root_window, ROOT_EVENTS);
 	    XSync (dpy, False);



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