aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2024-08-04 13:03:59 -0400
committerSimon Ser <contact@emersion.fr>2024-09-20 19:40:18 +0200
commit74e507962e32ec8d6606d28383ac109fbf2370e4 (patch)
treeaef3acc94db90b2c81fa32c48f0c201369583bc8 /include
parent023f6b0a50dd4fe17a29d7f02922e18ef37df857 (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;
};