Is there a simple ready solution to just #include <icon.xpm>
and get it as your app icon?
Asked
Active
Viewed 258 times
1 Answers
1
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 )

Community
- 1
- 1

Andrey Sidorov
- 24,905
- 4
- 62
- 75