Re: class name

dmg <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <CAEBXXD8O2Q+1_s-KHpdcgnwXKQh-Vg6j-YEEBXGh1tOjkjDM8w@mail.gmail.com>
oops. sorry for the wrong message ;)

but through trial and error I was able to answer my own question:


(defun dmg-rename-class (w y)
  (interactive "%W\nsNew class Name:")
  (set-x-text-property w 'WM_CLASS (vector y y ""))
)

it seems to work, and hopefully will not have bad side effects :)

On Wed, Jan 9, 2013 at 1:40 PM, dmg <[email protected]> wrote:
> no lo de la invitacion, sino lo de ir a londres.
>
> On Wed, Jan 9, 2013 at 12:38 PM, D M German <[email protected]> wrote:
>>
>> hi there,
>>
>> does anybody know if it is feasible to rename the class of a window? I
>> don't think there is a function to do it, but I wonder if it is possible
>> at all.
>>
>>
>> --
>> Daniel M. German                  "Science clears the fields on which
>>     W. Heisenberg ->               technology can build. "
>> http://turingmachine.org/
>> http://silvernegative.com/
>> dmg (at) uvic (dot) ca
>> replace (at) with @ and (dot) with .
>>
>>
>
>
>
> --
> --dmg
>
> ---
> Daniel M. German
> http://turingmachine.org



-- 
--dmg

---
Daniel M. German
http://turingmachine.org

-- 
Sawfish ML
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.