Re: 'repeat' flag on SDL_KeyboardEvent not being set on 2.0.5

Daniel Ribeiro Maciel <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <CAM1_LDFTarfowU2oXy6H=zH4RvaDV1mFnBbrNSg1BmdXdzJcxw@mail.gmail.com>
I have added libibus-1.0-dev to my bootstrap script here. Thanks for the
help Alex.

Best regards,
Daniel

On Tue, Oct 25, 2016 at 12:33 AM, Daniel Ribeiro Maciel <
[email protected]> wrote:

> Apparently the problem is that now I'm forced to have either
> HAVE_IBUS_IBUS_H or HAVE_FCITX_FRONTEND_H defined.
>
> I think SDL now expects ibus headers installed (or fcitx dev) otherwise
> new_xmods will not be set to "@im=none" which is the cause of the problem.
>
> I'm forcing has_dbus_ime_support to SDL_TRUE and everthing works as
> expected.
>
> If I install libibus-dev everything works as expected but I see no reason
> to require ibus headers if they are not really required in this case?
>
>
>
> On Tue, Oct 25, 2016 at 12:05 AM, Daniel Ribeiro Maciel <
> [email protected]> wrote:
>
>> Found the culprit:
>>
>> changeset:   10500:c3874aa1f2d1
>> user:        Sam Lantinga <[email protected]>
>> date:        Sat Oct 08 11:30:07 2016 -0700
>> summary:     Fixed building and using fcitx IME support on Linux
>>
>> Trying to figure out what is wrong with it.
>>
>>
>>
>> On Mon, Oct 24, 2016 at 11:06 PM, Alex Baines <[email protected]> wrote:
>>
>>> Hmm, some patches I wrote that made it into 2.0.5 related to x11
>>> keyboard code, so this may be my fault.
>>>
>>> I tried to reproduce the behaviour locally using the checkkeys test, but
>>> that shows key repeats correctly.
>>>
>>> Maybe using 'hg bisect' with checkkeys could help you locate the commit
>>> that introduced this.
>>>
>>> Alex.
>>>
>>> On 25/10/16 00:12, Daniel Ribeiro Maciel wrote:
>>> > Hi guys,
>>> >
>>> > I've recently upgraded from 2.0.4 to 2.0.5 and noticed the 'repeat'
>>> flag on
>>> > SDL_KeyboardEvent is not being set properly anymore on my system.
>>> >
>>> > I'm using Ubuntu 16.04, with the X11 backend (XLIB).
>>> >
>>> > I've tried to create a bug report on bugzilla but I couldn't set the
>>> > version to 2.0.5 there.
>>> >
>>> > Best regards,
>>> > Daniel
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > SDL mailing list
>>> > [email protected]
>>> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>> >
>>> _______________________________________________
>>> SDL mailing list
>>> [email protected]
>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>
>>
>>
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.