diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-03-05 23:49:45 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-06-02 20:11:42 +0200 |
commit | c9e1dab3187d22ada0232d699e759a628e0ed185 (patch) | |
tree | 2838a14e3144fca71a7c693cd36ced33bf622bf7 /sway/xdg_activation_v1.c | |
parent | xwayland: don't rely on event source being data (diff) | |
download | sway-c9e1dab3187d22ada0232d699e759a628e0ed185.tar.gz sway-c9e1dab3187d22ada0232d699e759a628e0ed185.tar.zst sway-c9e1dab3187d22ada0232d699e759a628e0ed185.zip |
chore: chase wlroots map logic unification
Diffstat (limited to 'sway/xdg_activation_v1.c')
-rw-r--r-- | sway/xdg_activation_v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/xdg_activation_v1.c b/sway/xdg_activation_v1.c index e97989c8..c26ee19a 100644 --- a/sway/xdg_activation_v1.c +++ b/sway/xdg_activation_v1.c | |||
@@ -17,7 +17,7 @@ void xdg_activation_v1_handle_request_activate(struct wl_listener *listener, | |||
17 | return; | 17 | return; |
18 | } | 18 | } |
19 | 19 | ||
20 | if (!xdg_surface->mapped) { | 20 | if (!xdg_surface->surface->mapped) { |
21 | // This is a startup notification. If we are tracking it, the data | 21 | // This is a startup notification. If we are tracking it, the data |
22 | // field is a launcher_ctx. | 22 | // field is a launcher_ctx. |
23 | struct launcher_ctx *ctx = event->token->data; | 23 | struct launcher_ctx *ctx = event->token->data; |