diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-12-16 17:17:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-16 17:17:31 +0000 |
| commit | 98a4fa2b0d79298fa29b048a3ba15c3bf5aed8cd (patch) | |
| tree | 64e78342cf08e5f9ad87bd5f6ea36233133be7bb /src/managers/input/InputMethodRelay.hpp | |
| parent | 7c33c7fc64203c17b4f3625a16ae6b4774992c0e (diff) | |
Added clang format (#1239)
* clang-format stuff and format files
Diffstat (limited to 'src/managers/input/InputMethodRelay.hpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.hpp | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp index 5f4e9752..76746487 100644 --- a/src/managers/input/InputMethodRelay.hpp +++ b/src/managers/input/InputMethodRelay.hpp @@ -6,37 +6,36 @@ class CInputManager; class CInputMethodRelay { -public: + public: CInputMethodRelay(); - void onNewIME(wlr_input_method_v2*); - void onNewTextInput(wlr_text_input_v3*); + void onNewIME(wlr_input_method_v2*); + void onNewTextInput(wlr_text_input_v3*); wlr_input_method_v2* m_pWLRIME = nullptr; - void commitIMEState(wlr_text_input_v3*); - void removeTextInput(wlr_text_input_v3*); + void commitIMEState(wlr_text_input_v3*); + void removeTextInput(wlr_text_input_v3*); - void onKeyboardFocus(wlr_surface*); + void onKeyboardFocus(wlr_surface*); - STextInput* getFocusedTextInput(); - STextInput* getFocusableTextInput(); + STextInput* getFocusedTextInput(); + STextInput* getFocusableTextInput(); - void setPendingSurface(STextInput*, wlr_surface*); + void setPendingSurface(STextInput*, wlr_surface*); - SIMEKbGrab* getIMEKeyboardGrab(SKeyboard*); + SIMEKbGrab* getIMEKeyboardGrab(SKeyboard*); - void setIMEPopupFocus(SIMEPopup*, wlr_surface*); - void updateInputPopup(SIMEPopup*); - void damagePopup(SIMEPopup*); - void removePopup(SIMEPopup*); - -private: + 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; + std::list<STextInput> m_lTextInputs; + std::list<SIMEPopup> m_lIMEPopups; DYNLISTENER(textInputNew); DYNLISTENER(IMECommit); @@ -44,7 +43,7 @@ private: DYNLISTENER(IMEGrab); DYNLISTENER(IMENewPopup); - void createNewTextInput(wlr_text_input_v3*); + void createNewTextInput(wlr_text_input_v3*); friend class CHyprRenderer; friend class CInputManager; |
