aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-08-04 13:03:59 -0400
committerFurkan Sahin <furkan-dev@proton.me>2024-08-04 13:03:59 -0400
commit051725253837a2b27c8d291970bc6ad9208f5a4f (patch)
treeaef3acc94db90b2c81fa32c48f0c201369583bc8 /include
parent08dc3c1aff81f78fee601a4cc03f899c68e3cba1 (diff)
text_input: Properly handle map/unmap events
The last implementation would ignore these and get it could get into a bad state where it would start crashing sway.
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/text_input_popup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/text_input_popup.h b/include/sway/input/text_input_popup.h
index 97dd6444..7e838ed2 100644
--- a/include/sway/input/text_input_popup.h
+++ b/include/sway/input/text_input_popup.h
@@ -15,6 +15,8 @@ struct sway_input_popup {
struct wl_listener popup_destroy;
struct wl_listener popup_surface_commit;
+ struct wl_listener popup_surface_map;
+ struct wl_listener popup_surface_unmap;
struct wl_listener focused_surface_unmap;
};