Re: [PATCH weston v2] xwm: Add icon support to the frame

2017-02-13 Thread Daniel Stone
Hi Emmanuel, On 8 December 2016 at 01:55, Emmanuel Gil Peyrot wrote: > @@ -1146,6 +1150,48 @@ weston_wm_window_schedule_repaint(struct > weston_wm_window *window) > } > > static void > +weston_wm_handle_icon(struct weston_wm *wm, struct weston_wm_window *window) > +{ > + xcb_get_property

[PATCH weston v2] xwm: Add icon support to the frame

2016-12-07 Thread Emmanuel Gil Peyrot
This fetches the _NET_WM_ICON property of the X11 window, and use the first image found as the frame icon. This has been tested with various X11 programs, and improves usability and user-friendliness a bit. Changes since v1: - Changed frame_button_create() to use frame_button_create_from_surfac