From e0ada97a24adbe939db90c388b0d38161047f216 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 5 Aug 2022 17:07:01 +0200 Subject: support zwp_input_method_v2 popups --- src/managers/input/InputMethodRelay.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/managers/input/InputMethodRelay.hpp') 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 m_pKeyboardGrab; std::list m_lTextInputs; + std::list 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 -- cgit v1.2.3