Client: implement toplevel icon protocol


This allows QWindow::setIcon to work on desktops that support the
standards. If an icon name is set, we assume it's from an installed
theme and provide the name, otherwise we provide buffers.

For SVGs the size hint from the compositor is used, otherwise we supply
pixmap data in all the sizes we have available.

[ChangeLog][Third-Party Code] New protocol synced from wayland-protocols

Change-Id: Iabbd928a3476aafa2d63a81e68299049e59991db
Reviewed-by: David Redondo <qt@david-redondo.de>
commited1fd7f15835763e6cbf9b90f3b01eb57a5742ed
parent6f8e87ad6fbe7171559d9373e8cc337d07c75096
authorDavid Redondo <qt@david-redondo.de>
committerDavid Edmundson <davidedmundson@kde.org>
commit timeThu, 31 Oct 2024 14:53:19 +0000