textinput: handle IME resetting (#7731)

This commit is contained in:
Sungyoon Cho
2024-09-10 22:49:10 +09:00
committed by GitHub
parent 13f90bb87a
commit 155d44016d
8 changed files with 49 additions and 19 deletions

View File

@@ -29,6 +29,7 @@ class CTextInput {
void onEnabled(SP<CWLSurfaceResource> surfV1 = nullptr);
void onDisabled();
void onCommit();
void onReset();
bool hasCursorRectangle();
CBox cursorBox();
@@ -47,6 +48,7 @@ class CTextInput {
struct {
CHyprSignalListener enable;
CHyprSignalListener disable;
CHyprSignalListener reset;
CHyprSignalListener commit;
CHyprSignalListener destroy;
CHyprSignalListener surfaceUnmap;