stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] netwm support: Unicode window titles


From: Magnus Henoch
Subject: Re: [STUMP] netwm support: Unicode window titles
Date: Sat, 21 Apr 2007 21:53:53 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (berkeley-unix)

Tassilo Horn <address@hidden> writes:

> I'm not too familiar with Stumpwm's code, but I really like the idea of
> making it NetWM compatible. One thing that I miss currently is the
> possibility to raise windows from shell scripts via `wmctl -a <window>'.

Oh, that's a nice tool; I didn't know about it.  `wmctrl -m' found a
bug in my patch: it doesn't set the window manager name properly.
Here is a patch for that:

diff -c /home/magnus/src/stumpwm/core.lisp\~ /home/magnus/src/stumpwm/core.lisp
--- /home/magnus/src/stumpwm/core.lisp~ Fri Apr 20 19:14:47 2007
+++ /home/magnus/src/stumpwm/core.lisp  Sat Apr 21 21:41:00 2007
@@ -1652,8 +1652,8 @@
                          (list focus-window) :window 32
                          :transform #'xlib:drawable-id)
     (xlib:change-property focus-window :_NET_WM_NAME
-                         (list (map 'vector #'char-code "stumpwm"))
-                         :string 8)
+                         "stumpwm"
+                         :string 8 :transform #'xlib:char->card8)
     
     ;; _NET_CLIENT_LIST: TODO
 

Diff finished.  Sat Apr 21 21:51:44 2007
Magnus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]