[sawfish] Long unsupported option 'ignore-window-input-hint' is deleted, together with related codes.



commit ebde1efdfe88425d7d1c3f21417ae90f7ed48496
Author: Teika kazura <teika lavabit com>
Date:   Sat Mar 6 13:48:09 2010 +0900

    Long unsupported option 'ignore-window-input-hint' is deleted, together with related codes.

 OPTIONS                    |    3 ---
 lisp/sawfish/wm/windows.jl |    9 +--------
 man/faq.texi               |   11 +++--------
 man/news.texi              |    3 +++
 4 files changed, 7 insertions(+), 19 deletions(-)
---
diff --git a/OPTIONS b/OPTIONS
index 9caee65..ad8f298 100644
--- a/OPTIONS
+++ b/OPTIONS
@@ -74,9 +74,6 @@
 ;;  (define-special-variable focus-windows-when-mapped t
 ;;    "Focus application windows when they first appear.")
 
-;;  (define-special-variable ignore-window-input-hint nil
-;;    "Give focus to windows even when they haven't asked for it.")
-
 ;; window frame (theme) options
 
 ;;  (define-special-variable default-frame-style nil
diff --git a/lisp/sawfish/wm/windows.jl b/lisp/sawfish/wm/windows.jl
index ebb1aef..81d08d7 100644
--- a/lisp/sawfish/wm/windows.jl
+++ b/lisp/sawfish/wm/windows.jl
@@ -76,11 +76,6 @@
 	  sawfish.wm.commands)
 
 
-  (defcustom ignore-window-input-hint nil
-    "Give focus to windows even when they haven't asked for it."
-    :type boolean
-    :group focus)
-
   (defgroup warp "Warping" :group misc)
 
   (defcustom warp-to-window-offset (cons -1 -1)
@@ -153,9 +148,7 @@ Returns nil if no such window is found."
   (define (window-really-wants-input-p w)
     "Return nil if window W should never be focused."
     (and (not (window-get w 'never-focus))
-	 (or ignore-window-input-hint
-	     (window-get w 'ignore-window-input-hint)
-	     (window-wants-input-p w))))
+	 (window-wants-input-p w)))
 
   (define (window-transient-p w)
     "Return non-nil if WINDOW is a transient window. The returned value will
diff --git a/man/faq.texi b/man/faq.texi
index 7cf2357..f798ffe 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -250,13 +250,9 @@ Recompile GTK+ using the @samp{--disable-xim} option to configure
 
 @item Why don't some windows ever get focused?
 
-If you don't have the option ``give focus to windows even when they
-haven't asked for it'' set to nil (define-special-variable
-ignore-window-input-hint nil), then windows that don't ask for focus
-don't get it.
-
-Windows ask to receive focus by setting their WM_HINTS property
-appropriately; for example if I xprop a gnome-terminal:
+Because that window doesn't accept it. Technically, windows ask to
+receive focus by setting their WM_HINTS property appropriately; for
+example if I xprop a gnome-terminal:
 
 @example
 WM_HINTS(WM_HINTS):
@@ -291,7 +287,6 @@ It means that you're trying to execute Lisp code that was compiled for
 an outdated version of the Lisp virtual machine. Recompile any Lisp
 files that you have installed locally.
 
-
 @item Historical question: Why is it now called @emph{Sawfish}?
 
 Because the old name (@samp{Sawmill}) was already being used by another
diff --git a/man/news.texi b/man/news.texi
index dcc51b3..a87a152 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -34,6 +34,9 @@ files.  Of course, you can define new modules, too.
 @itemize @minus
 @item Pressing the lock-button does the state-change of the window
 accordingly. [Fuchur]
+
+ item Unsupported option @code{ignore-window-input-hint} is deleted [Teika kazura] @*
+It has been invalid for long.
 @end itemize
 
 @item Other Changes



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