[sawfish] Minor bugfix. `focus-ignore-pointer-events' was customizable, but not now.



commit a244c7e9a07140852999bdba0a1161286579aa9e
Author: Teika kazura <teika lavabit com>
Date:   Sat Nov 13 14:47:30 2010 +0900

    Minor bugfix. `focus-ignore-pointer-events' was customizable, but not now.
    
    This variable is used internally, and introduced in commit 1c544853.
    Sometime it was turned to a defcustom, but it confuses users. So now a plain defvar.

 OPTIONS                        |    3 ---
 lisp/sawfish/wm/focus.jl       |    8 ++++----
 lisp/sawfish/wm/util/compat.jl |    2 +-
 man/news.texi                  |    3 +++
 man/sawfish.texi               |    5 -----
 5 files changed, 8 insertions(+), 13 deletions(-)
---
diff --git a/OPTIONS b/OPTIONS
index 3d447cd..88a0efa 100644
--- a/OPTIONS
+++ b/OPTIONS
@@ -72,9 +72,6 @@
 ;;    "When true, focusing a window doesn't change it's position in the
 ;;stack of most-recently focused windows.")
 
-;;  (defvar-setq focus-ignore-pointer-events nil
-;;    "When true, pointer in/out events don't cause focus changes.")
-
 ;;  (defvar-setq focus-windows-when-mapped t
 ;;    "Focus application windows when they first appear.")
 
diff --git a/lisp/sawfish/wm/focus.jl b/lisp/sawfish/wm/focus.jl
index 55449fd..62d7ad2 100644
--- a/lisp/sawfish/wm/focus.jl
+++ b/lisp/sawfish/wm/focus.jl
@@ -61,10 +61,10 @@
     :type boolean
     :group focus)
 
-  (defcustom focus-ignore-pointer-events nil
-    "When true, pointer in/out events don't cause focus changes."
-    :type boolean
-    :group focus)
+
+  ;; Only used by x-cycle.jl
+  (defvar focus-ignore-pointer-events nil
+    "When true, pointer in/out events don't cause focus changes.")
 
   (define focus-within-click-event (make-fluid nil)
           "When true, the current command is being called from within
diff --git a/lisp/sawfish/wm/util/compat.jl b/lisp/sawfish/wm/util/compat.jl
index 639a17e..bf923e0 100644
--- a/lisp/sawfish/wm/util/compat.jl
+++ b/lisp/sawfish/wm/util/compat.jl
@@ -108,7 +108,7 @@
           warp-to-window-y-offset uniquify-name-format
           transients-get-focus decorate-transients
           raise-windows-on-uniconify uniconify-to-current-workspace
-          iconify-ignored
+          iconify-ignored focus-ignore-pointer-events
           focus-windows-on-uniconify transients-are-group-members
           raise-selected-windows warp-to-selected-windows
           menus-include-shortcuts configure-auto-gravity
diff --git a/man/news.texi b/man/news.texi
index 77091bd..d63f10c 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -47,6 +47,9 @@ access git repository.)
 
 Both the function and the command are renamed. The old name is still supported,
 but it's recommended to update your configuration.
+
+ item User option @code{focus-ignore-pointer-events} is deleted. [Teika kazura] *
+In fact, it's for internal use, and should not have been a user option. Use your favorite focus mode instead.
 @end itemize
 
 @item Bug fixes
diff --git a/man/sawfish.texi b/man/sawfish.texi
index 4c8122c..fccbe2c 100644
--- a/man/sawfish.texi
+++ b/man/sawfish.texi
@@ -1243,11 +1243,6 @@ This option may be set on a per-window basis by setting the
 @code{window-put} function).
 @end defvar
 
- defvar focus-ignore-pointer-events
-When true, pointer in/out events don't cause focus changes.  This is
-independent of the current focus mode.
- end defvar
-
 @defvar focus-within-click-event
 When true, the current command is being called from within a
 click-to-focus button press event.



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