input-method: use unified map logic

This commit is contained in:
Kirill Primak 2023-03-04 23:04:00 +03:00 committed by Isaac Freund
parent 229abfae0c
commit 743da5c0ae
2 changed files with 7 additions and 34 deletions

View file

@ -62,13 +62,10 @@ struct wlr_input_popup_surface_v2 {
struct wl_resource *resource;
struct wlr_input_method_v2 *input_method;
struct wl_list link;
bool mapped;
struct wlr_surface *surface;
struct {
struct wl_signal map;
struct wl_signal unmap;
struct wl_signal destroy;
} events;