remove WMName
This commit is contained in:
parent
58dac78b87
commit
9485e7305c
|
@ -147,7 +147,6 @@ setup(Display *disp, awesome_config *awesomeconf)
|
|||
XSetWindowAttributes wa;
|
||||
|
||||
/* init atoms */
|
||||
wmatom[WMName] = XInternAtom(disp, "WM_NAME", False);
|
||||
wmatom[WMState] = XInternAtom(disp, "WM_STATE", False);
|
||||
netatom[NetSupported] = XInternAtom(disp, "_NET_SUPPORTED", False);
|
||||
netatom[NetWMName] = XInternAtom(disp, "_NET_WM_NAME", False);
|
||||
|
|
|
@ -39,7 +39,7 @@ enum
|
|||
enum
|
||||
{ NetSupported, NetWMName, NetLast }; /* EWMH atoms */
|
||||
enum
|
||||
{ WMName, WMState, WMLast }; /* default atoms */
|
||||
{ WMState, WMLast }; /* default atoms */
|
||||
|
||||
Bool gettextprop(Display *, Window, Atom, char *, unsigned int); /* return text property, UTF-8 compliant */
|
||||
void updatebarpos(Display *, Statusbar); /* updates the bar position */
|
||||
|
|
2
client.c
2
client.c
|
@ -179,7 +179,7 @@ inline void
|
|||
updatetitle(Client * c)
|
||||
{
|
||||
if(!gettextprop(c->display, c->win, netatom[NetWMName], c->name, sizeof c->name))
|
||||
gettextprop(c->display, c->win, wmatom[WMName], c->name, sizeof c->name);
|
||||
gettextprop(c->display, c->win, XInternAtom(c->display, "WM_NAME", False), c->name, sizeof c->name);
|
||||
}
|
||||
|
||||
/** Ban client
|
||||
|
|
Loading…
Reference in New Issue