Re: [code] [textadept] Indicator click on OS X

From: Mitchell <m.att.foicica.com>
Date: Wed, 30 Oct 2013 12:34:32 -0400 (Eastern Daylight Time)

Robert,

On Wed, 30 Oct 2013, Robert Gieseke wrote:

> Hi Mitchell,
>
> Am 10/30/13, 5:07 AM, schrieb Mitchell:
>>> I'm trying to figure out an indicator click issue on OS X, the
>>> following test code displays Ctrl, Alt and Shift just fine, but not
>>> clicks with Meta (Command). On Linux this displays Ctrl, Alt and
>>> Shift
>>> correctly as well. On OS X Meta is not recognized and reported as
>>> modifier 0.
>>> [snip]
>>
>> Try the 2013-10-29 nightly I just built. It patches Scintilla to
>> recognize the meta modifier for click events.
>>
>
> thanks for looking into it! I tried the nightly, a new cross-compiled
> build and tried indicator and double click events, but unfortunately I
> still get a zero reported for the Meta key.
>
> If there is anything I should try, please let me know.

Found the problem: you need to change ScintillaGTK.cxx's only instance of
GDK_META_MASK with GDK_MOD2_MASK. Looks like GTK handles mice different
than keys. This should be in the next nighly.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 30 Oct 2013 - 12:34:32 EDT

This archive was generated by hypermail 2.2.0 : Thu 31 Oct 2013 - 06:47:52 EDT