inputs: refactor class member vars (#10230)

This commit is contained in:
davc0n 2025-05-01 23:57:11 +02:00 committed by GitHub
parent 2670b8f772
commit 5b3e489108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 655 additions and 656 deletions

View file

@ -37,13 +37,13 @@ class CInputMethodRelay {
void updateAllPopups();
WP<CInputMethodV2> m_pIME;
WP<CInputMethodV2> m_inputMethod;
private:
std::vector<UP<CTextInput>> m_vTextInputs;
std::vector<UP<CInputPopup>> m_vIMEPopups;
std::vector<UP<CTextInput>> m_textInputs;
std::vector<UP<CInputPopup>> m_inputMethodPopups;
WP<CWLSurfaceResource> m_pLastKbFocus;
WP<CWLSurfaceResource> m_lastKbFocus;
struct {
CHyprSignalListener newTIV3;
@ -52,7 +52,7 @@ class CInputMethodRelay {
CHyprSignalListener commitIME;
CHyprSignalListener destroyIME;
CHyprSignalListener newPopup;
} listeners;
} m_listeners;
friend class CHyprRenderer;
friend class CInputManager;