mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 10:11:54 -07:00
textinput: handle IME resetting (#7731)
This commit is contained in:
@@ -31,6 +31,7 @@ class CTextInputV3 {
|
||||
CSignal onCommit;
|
||||
CSignal enable;
|
||||
CSignal disable;
|
||||
CSignal reset;
|
||||
CSignal destroy;
|
||||
} events;
|
||||
|
||||
@@ -53,7 +54,11 @@ class CTextInputV3 {
|
||||
CBox cursorBox;
|
||||
} box;
|
||||
|
||||
bool enabled = false;
|
||||
struct {
|
||||
bool isEnablePending = false;
|
||||
bool isDisablePending = false;
|
||||
bool value = false;
|
||||
} enabled;
|
||||
|
||||
zwpTextInputV3ChangeCause cause = ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_INPUT_METHOD;
|
||||
|
||||
|
Reference in New Issue
Block a user