Skip to content

New XIM composition support doesn't not correctly negotiate with input method #2448

@wengxt

Description

@wengxt

X input method may choose not to support all the input styles.

ffi::XIMPreeditCallbacks | ffi::XIMStatusNothing,

Basically this line will make client always create an input context with preedit callback, which is not supported by input method.

The correct way to do this is to do GetIMValues first, to list all the supported style
https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Getting_IM_Values

Then send over a style in XCreateIC that is supported by input method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B - bugDang, that shouldn't have happenedDS - x11Affects the X11 backend, or generally free Unix platforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions