[sawfish] remove desktop check from rename-window-func



commit eb0bcfa04b49144197f8c9eeb323848ddc376143
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Sat Oct 23 10:09:53 2010 +0200

    remove desktop check from rename-window-func

 ChangeLog                  |    3 +++
 lisp/sawfish/wm/windows.jl |    6 ++----
 man/news.texi              |    3 +--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 568fd31..ecd1425 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-10-23  Christopher Bratusek <zanghar freenet de>
+	* lisp/sawfish/wm/windows.jl: remove desktop check from rename-window-func
+
 2010-10-21  Christopher Bratusek <zanghar freenet de>
 	* man/news.texi: fixed a typo
 	                 updated
diff --git a/lisp/sawfish/wm/windows.jl b/lisp/sawfish/wm/windows.jl
index f57f802..fe82037 100644
--- a/lisp/sawfish/wm/windows.jl
+++ b/lisp/sawfish/wm/windows.jl
@@ -542,10 +542,8 @@ STATES has been changed. STATES may also be a single symbol."
            state-changes)))
 
   (define (rename-window-func window new-name)
-    "Renames the WINDOW to NEW-NAME."
-    (unless (string-match desktop-environment "none")
-        (progn (set-x-text-property window 'WM_NAME (vector new-name))
-	       (set-x-text-property window 'WM_ICON_NAME (vector new-name))))
+      (set-x-text-property window 'WM_NAME (vector new-name))
+      (set-x-text-property window 'WM_ICON_NAME (vector new-name))
       ;; XXX doesn't have any effect?
       (set-x-text-property window '_NET_WM_VISIBLE_NAME (vector new-name))
       (set-x-text-property window '_NET_WM_NAME (vector new-name))
diff --git a/man/news.texi b/man/news.texi
index 86ccaf5..2890886 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -68,8 +68,7 @@ now bundled in the new @code{Workspace} sub-menu.
 
 @item @code{rename-window} function behavior-change [Christopher Bratusek]
 The function @code{rename-window} does now also change the _NET_WM_VISIBLE_NAME
-property of a window. Besides the properties WM_NAME and WM_ICON_NAME are now only
-changed, if Ssawfish is not running standalone (either KDE, GNOME or XFCE running).
+property of a window. 
 
 @item Translation related changes [Teika Kazura]
 



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