diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-05 17:07:01 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-05 17:07:01 +0200 |
| commit | e0ada97a24adbe939db90c388b0d38161047f216 (patch) | |
| tree | 592b55925e869ce3364e701267670ee37c0f3b43 /src/managers/input/InputMethodRelay.hpp | |
| parent | 9a8a6317ff9dc7d97a0018d8d0b19cd033d2c47b (diff) | |
support zwp_input_method_v2 popups
Diffstat (limited to 'src/managers/input/InputMethodRelay.hpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp index ff6fb128..1ecc5a5d 100644 --- a/src/managers/input/InputMethodRelay.hpp +++ b/src/managers/input/InputMethodRelay.hpp @@ -24,16 +24,25 @@ public: SIMEKbGrab* getIMEKeyboardGrab(SKeyboard*); + void setIMEPopupFocus(SIMEPopup*, wlr_surface*); + void updateInputPopup(SIMEPopup*); + void damagePopup(SIMEPopup*); + void removePopup(SIMEPopup*); + private: std::unique_ptr<SIMEKbGrab> m_pKeyboardGrab; std::list<STextInput> m_lTextInputs; + std::list<SIMEPopup> m_lIMEPopups; DYNLISTENER(textInputNew); DYNLISTENER(IMECommit); DYNLISTENER(IMEDestroy); DYNLISTENER(IMEGrab); + DYNLISTENER(IMENewPopup); void createNewTextInput(wlr_text_input_v3*); + + friend class CHyprRenderer; };
\ No newline at end of file |
