xcb_ewmh_set_wm_icon_checked

@brief Send ChangeProperty request to set _NET_WM_ICON window property. The given data is considered to be already prepared, namely that it is an array such as: WIDTH1, HEIGHT1, IMG1, WIDTH2, HEIGHT2, IMG2.

If you only want to add or append a single icon, you may consider using xcb_ewmh_append_wm_icon_checked which is far easier to use.

_NET_WM_ICON CARDINAL[][2+n]/32

@param ewmh The information relative to EWMH @param mode ChangeProperty mode (xcb_prop_mode_t) @param window The window to set the property on @param data_len Length of the data @param data The data

extern (C) extern (D)
xcb_void_cookie_t
xcb_ewmh_set_wm_icon_checked
(,
ubyte mode
,
xcb_window_t window
,,
uint* data
)

Meta