Re: How to define wm-modifier-value to 'win' key (the key with microsoft logo in the keyboard)



On Thursday 27 August 2009 06:21:22 Wang Diancheng wrote:
> (define-special-variable wm-modifier-value (quote (super)))

That won't work.  The value of wm-modifier-value is a modifier mask that 
can be obtained with, e.g., (encode-modifier '(super)).  encode-modifier 
is defined in sawfish.wm.util.decode-events.  Normally users don't need 
to bother with this because the customizer takes care of it 
automatically.

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


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