set support for _NET_WM_ICON
This commit is contained in:
parent
029f73ddfc
commit
0f4a9df88c
|
@ -289,7 +289,7 @@ main(int argc, char *argv[])
|
||||||
Display * dpy;
|
Display * dpy;
|
||||||
int shape_event, randr_event_base;
|
int shape_event, randr_event_base;
|
||||||
int screen;
|
int screen;
|
||||||
enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */
|
enum { NetSupported, NetWMName, NetWMIcon, NetLast }; /* EWMH atoms */
|
||||||
Atom netatom[NetLast];
|
Atom netatom[NetLast];
|
||||||
event_handler **handler;
|
event_handler **handler;
|
||||||
struct sockaddr_un *addr;
|
struct sockaddr_un *addr;
|
||||||
|
@ -347,6 +347,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
|
netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
|
||||||
netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
|
netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
|
||||||
|
netatom[NetWMIcon] = XInternAtom(dpy, "_NET_WM_ICON", False);
|
||||||
|
|
||||||
/* do this only for real screen */
|
/* do this only for real screen */
|
||||||
for(screen = 0; screen < ScreenCount(dpy); screen++)
|
for(screen = 0; screen < ScreenCount(dpy); screen++)
|
||||||
|
|
Loading…
Reference in New Issue