On Wed, 13 Dec 2023 19:09:44 GMT, Martin Fox <[email protected]> wrote:
>> Thiago Milczarek Sayao has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Account the case of !filtered
>
> modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp line
> 120:
>
>> 118: if (!filtered || (filtered && im_ctx.send_keypress)) {
>> 119: process_key(&event->key);
>> 120: im_ctx.send_keypress = false;
>
> I'm seeing two RELEASE events on each keystroke. If you call process_key()
> here you need to set `filtered` to true to ensure the event isn't processed
> again.
I changed to "if not filtered", just propagate.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1080#discussion_r1429127179