chore: chase wlroots map logic unification

This commit is contained in:
Kirill Primak 2023-03-05 23:49:45 +03:00 committed by Simon Ser
parent 72881b5d12
commit c9e1dab318
9 changed files with 90 additions and 51 deletions

View file

@ -17,7 +17,7 @@ void xdg_activation_v1_handle_request_activate(struct wl_listener *listener,
return;
}
if (!xdg_surface->mapped) {
if (!xdg_surface->surface->mapped) {
// This is a startup notification. If we are tracking it, the data
// field is a launcher_ctx.
struct launcher_ctx *ctx = event->token->data;