[Xquartz-dev] 2.3.1_beta2

Jeremy Huddleston jeremyhu at freedesktop.org
Fri Aug 15 01:52:00 PDT 2008


On Aug 15, 2008, at 00:01, Martin Costabel wrote:
> With xev I see that cmd-click produces a ButtonPress event with
> "state 0x10, button 3". I think the "state" is wrong, it should be
> "0x0". Otherwise it is interpreted as "cmd-button3" instead of just
> "button3", and "cmd-button3" is not associated with any action.

Well, you're holding down command... so this is what makes sense to  
me...

How would you suggest to emulate cmd-button3 or alt-button2?  If we do  
one, we have no way of doing the other.

I think I'm going to solve this by expanding the available options to  
the 'fake_button2' and 'fake_button3' defaults options, so you can  
also do 'lalt', 'ralt', 'rcommand', 'lcommand', 'lshift', and  
'rshift'.  That way, you can have lcommand be the emulation modifier  
and hold both to do a command-click... this is going to be a tad  
tricky to implement though...

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080815/2cadda6d/attachment.bin 


More information about the Xquartz-dev mailing list