summaryrefslogtreecommitdiff
path: root/src/managers/input/InputMethodPopup.hpp
diff options
context:
space:
mode:
authorJunxuan Liao <70618504+MikeWalrus@users.noreply.github.com>2024-04-07 22:15:50 +0800
committerGitHub <noreply@github.com>2024-04-07 15:15:50 +0100
commitd657b59f701a65c7a85986e8d99754716468ee5b (patch)
tree633d9ad270eb1f2455641d2c2fa708c7e1759b38 /src/managers/input/InputMethodPopup.hpp
parentf2a848cbcc41f29fb62ee67aef95136ae1a650da (diff)
IME: fix IME popup mouse inputs (again) (#5417)
`lastBoxLocal`'s size should be the actual popup's size instead of the cursor rectangle's size. Also, the rectangle position is now relative to the popup. (Actually fixes #5255 imho.) One thing #3922 missed was handling focus held by buttons. Let's hope I get it right this time.
Diffstat (limited to 'src/managers/input/InputMethodPopup.hpp')
-rw-r--r--src/managers/input/InputMethodPopup.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/managers/input/InputMethodPopup.hpp b/src/managers/input/InputMethodPopup.hpp
index 71b2fe64..aed4dbc2 100644
--- a/src/managers/input/InputMethodPopup.hpp
+++ b/src/managers/input/InputMethodPopup.hpp
@@ -32,11 +32,10 @@ class CInputPopup {
wlr_input_popup_surface_v2* pWlr = nullptr;
CWLSurface surface;
CBox lastBoxLocal;
- Vector2D lastPopupSize;
uint64_t lastMonitor = -1;
DYNLISTENER(mapPopup);
DYNLISTENER(unmapPopup);
DYNLISTENER(destroyPopup);
DYNLISTENER(commitPopup);
-}; \ No newline at end of file
+};