Reputation: 33960
Is there a simple ready solution to just #include <icon.xpm>
and get it as your app icon?
Upvotes: 0
Views: 289
Reputation: 25466
See example code answers to this question - you need to upload rgba data to server-side pixmap and assign _NET_WM_ICON value to pixmap id.
Unfortunately this won't work for ubuntu/unity - there you set icon in the desktop file and associate your window with desktop file using by setting _NET_WM_DESKTOP_FILE property ( see my related answer )
Upvotes: 1