Re: [Sawfish] Re: class name

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


On Thursday 10 January 2013 06:24:33 dmg wrote:
> (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 :)

Probably not, although it is nonstandard behaviour: the ICCCM forbids 
window managers from changing client properties such as WM_CLASS. 
Section 4.1.2, first paragraph.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>

-- 
Sawfish ML


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