Expand description
This implements support for the experimental xx-input-method-v2 protocol. That protocol will hopefully become -v3 without changing the API at some point.
This is a low-level interface to the input method. It will generally not check if the client is allowed to issue a request in context, e.g. when the input method is inactive.
It does handle some serials for the client, as well as it checks the validity of values for the current protocol version.
The client is responsible for avoiding protocol errors.
Structs§
- Capabilities
- Describes operations that can be performed on this input method.
- Input
Method - Input
Method Data - Input
Method Event State - Stores incoming interface state.
- Input
Method Manager - Popup
- Popup
Data - Data reachable from XxInputPopupSurfaceV2
- Popup
Positioner - A trivial wrapper for an
XxInputPopupPositionerV1. - Popup
State - Server-provided popup state
- Positioner
Data - Rectangle
- Size
- Surrounding
Text - XxInput
Method V1 - input method
- XxInput
Popup Positioner V1 - input method popup positioner
- XxInput
Popup Surface V2 - popup surface
Enums§
- Active
- State machine for determining the capabilities of a text input
- Anchor
- Cursor
Position - Gravity
- Invalid
Index - Can’t set the preedit string due to cursor index not on UTF-8 code point boundary