mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
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.
(cherry picked from commit 74e507962e)
This commit is contained in:
parent
bb666f2ac9
commit
9d667383b4
2 changed files with 57 additions and 9 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue