Re: [Sawfish] Re: class name |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] Re: class name
- From: Timo Korvola <Timo.Korvola@xxxxxx>
- Date: Thu, 10 Jan 2013 21:13:06 +0200
- Cc: dmg <dmg@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=cy37Ec5ld69sUydJNoBX45Ec4HJTRm+BdDIwNJ1Mhws=; b=YDspu/QfAo8E6eLsr+3GGh0agtKWNaURjLDgTQEVMifIoHF1+E3KogOKlfF6j33Ep+ 3jhIOUCLQHLFQFCPqdU/GBVISy6fEaRJ+yOHokoHrbJFoZgpRwsshEwjOIIPuo4sM2bz Ep0qhVENCG4cxKTyclJ3lhdtdhBTQHaF0acu+nOUGzX0dqo83KmOgMRHRpJsNlC9QD2W RHW65QloCEhcDHlrgfvgrc7zCA7H3eOWrkCv0Fx4DpHlBgwsA738IaCq8lihCWGoYgs8 5sSuo/TNKartbv4kzK8E0jdW9NUrYjDMpugPc/HgYkP/AK1/xVEynSGam1Ksb2emJc1k EB3Q==
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