diff options
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c index 9e1cd4d5..baa7b6cc 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -152,6 +152,9 @@ static void output_frame_notify(struct wl_listener *listener, void *data) { struct roots_drag_icon *drag_icon = NULL; wl_list_for_each(drag_icon, &server->input->drag_icons, link) { + if (!drag_icon->mapped) { + continue; + } struct wlr_surface *icon = drag_icon->surface; struct wlr_cursor *cursor = server->input->cursor; double icon_x = cursor->x + drag_icon->sx; |