Re: [PATCH v4 1/2] xwm: Choose icon closest to target size

2018-03-23 Thread Derek Foreman
On 2018-03-23 02:47 PM, Scott Moreau wrote: > Xwayland clients can offer multiple icon sizes in no particular order. > Previously xwm was selecting the first one unconditionally. This patch > selects the icon that matches the size closest to the target size. The > target size is hard coded to 16

[PATCH v4 1/2] xwm: Choose icon closest to target size

2018-03-23 Thread Scott Moreau
Xwayland clients can offer multiple icon sizes in no particular order. Previously xwm was selecting the first one unconditionally. This patch selects the icon that matches the size closest to the target size. The target size is hard coded to 16 since there is only one theme and the data used to