xwayland: support _NET_WM_ICON

This commit is contained in:
Consolatis 2025-05-29 19:17:24 +02:00 committed by Hiroaki Yamamoto
parent e0d3bebbb7
commit a8df2487b2
3 changed files with 162 additions and 0 deletions

View file

@ -1043,6 +1043,7 @@ handle_xdg_toplevel_icon_set_icon(struct wl_listener *listener, void *data)
}
}
/* view takes ownership of the buffers */
view_set_icon(view, icon_name, &buffers);
wl_array_release(&buffers);
}