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/desktop/output.c | |
parent | 72881b5d120442e3a6f9c5b022c8d9cc05cb27c0 (diff) |
chore: chase wlroots map logic unification
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 01bc87bb..fe1fa8af 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -265,7 +265,7 @@ void output_drag_icons_for_each_surface(struct sway_output *output, double ox = drag_icon->x - output->lx; double oy = drag_icon->y - output->ly; - if (drag_icon->wlr_drag_icon->mapped) { + if (drag_icon->wlr_drag_icon->surface->mapped) { output_surface_for_each_surface(output, drag_icon->wlr_drag_icon->surface, ox, oy, iterator, user_data); @@ -295,7 +295,7 @@ static void output_for_each_surface(struct sway_output *output, if (lock_surface->output != output->wlr_output) { continue; } - if (!lock_surface->mapped) { + if (!lock_surface->surface->mapped) { continue; } |