summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-22 18:45:24 +0000
committerVaxry <vaxry@vaxry.net>2024-03-22 18:45:28 +0000
commitd2b42e29c66fc0f6411ce64fa7e14e1b5fcc1c3f (patch)
treeef93fcbbb6af3e560ae5e4f2c4a274f9531564cc /src/helpers/WLClasses.hpp
parent461757e2fb39e166db83858d877fcbd730ece4aa (diff)
IME: fix crashes with destroyed text-inputs
ref #5189
Diffstat (limited to 'src/helpers/WLClasses.hpp')
-rw-r--r--src/helpers/WLClasses.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 806bf778..210405f6 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -295,10 +295,14 @@ struct STextInput {
STextInputV1* pV1Input = nullptr;
wlr_surface* focusedSurface = nullptr;
+ void setFocusedSurface(wlr_surface* pSurface);
+
DYNLISTENER(textInputEnable);
DYNLISTENER(textInputDisable);
DYNLISTENER(textInputCommit);
DYNLISTENER(textInputDestroy);
+ DYNLISTENER(surfaceUnmapped);
+ DYNLISTENER(surfaceDestroyed);
};
struct SIMEKbGrab {