Comments on Weston's text interface

Jan Arne Petersen jpetersen at
Wed Oct 17 03:31:15 PDT 2012

On 10/15/2012 09:35 PM, Pekka Vuorela wrote:
> On ma, 2012-10-15 at 15:30 +0200, Jan Arne Petersen wrote:
>> Hi,
>> On 10/02/2012 10:29 PM, Pekka Vuorela wrote:
>>> Text_model::reset could have a text_model::commit request in addition.
>>> Reset is nice on editor::set_text() cases while commit when removing
>>> focus or moving cursor around.
>> Yes, that would be really useful, it would just need to be synchronous,
>> so that the text is commited at the old cursor position before the
>> cursor is moved to a new position.
> Right, I suppose that synchronous call requirement can be problematic.
> Alternatively could have boolean on Text_model::preedit_string to tell
> whether preedit should be committed by the application on this type of
> situation or even a separate "in case of forced commit" string.

Great idea. I think we will go with the separate "in case of forced
commit" string.

Jan Arne

Jan Arne Petersen
Openismus GmbH

More information about the wayland-devel mailing list