[Sawfish] Re: class name

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


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 <dmg@xxxxxxx> wrote:
> no lo de la invitacion, sino lo de ir a londres.
>
> On Wed, Jan 9, 2013 at 12:38 PM, D M German <dmg@xxxxxxx> 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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/