diff --git a/kiwmi/desktop/xdg_shell.c b/kiwmi/desktop/xdg_shell.c index 37d5c29..2aa028b 100644 --- a/kiwmi/desktop/xdg_shell.c +++ b/kiwmi/desktop/xdg_shell.c @@ -25,7 +25,7 @@ xdg_surface_map_notify(struct wl_listener *listener, void *UNUSED(data)) static void xdg_surface_unmap_notify(struct wl_listener *listener, void *UNUSED(data)) { - struct kiwmi_view *view = wl_container_of(listener, view, map); + struct kiwmi_view *view = wl_container_of(listener, view, unmap); view->mapped = false; }