[PATCH 2/3] editor: add support for invoke_action

Jan Arne Petersen jpetersen at openismus.com
Tue Dec 4 13:31:28 PST 2012


On 12/04/2012 09:34 PM, Pekka Vuorela wrote:
> On 04.12.2012 00:10, Jan Arne Petersen wrote:
>> +    [...]
>> +
>> +    if (state == WL_POINTER_BUTTON_STATE_PRESSED)
>> +        text_model_invoke_action(entry->model,
>> +                     button,
>> +                     cursor - entry->cursor);
>> +
> 
> Click would be mouse release, no? That's usually when actions are done
> (though normally not for moving cursor).

Yes, invoke_action should be called on release. I will fix it.

Thanks
Jan Arne

-- 
Jan Arne Petersen
Openismus GmbH
http://www.openismus.com


More information about the wayland-devel mailing list