From 0f4a9df88ce5806519608a70540ad98cfdc7d094 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 27 Dec 2007 16:07:24 +0100 Subject: [PATCH] set support for _NET_WM_ICON --- awesome.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index a57d1fe2..d4df3636 100644 --- a/awesome.c +++ b/awesome.c @@ -289,7 +289,7 @@ main(int argc, char *argv[]) Display * dpy; int shape_event, randr_event_base; int screen; - enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ + enum { NetSupported, NetWMName, NetWMIcon, NetLast }; /* EWMH atoms */ Atom netatom[NetLast]; event_handler **handler; struct sockaddr_un *addr; @@ -347,6 +347,7 @@ main(int argc, char *argv[]) netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False); netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False); + netatom[NetWMIcon] = XInternAtom(dpy, "_NET_WM_ICON", False); /* do this only for real screen */ for(screen = 0; screen < ScreenCount(dpy); screen++)