diff -r b3f4b0b3a5d7 -r 3ad7903c9e83 dwm.h --- a/dwm.h Sun Aug 19 10:13:24 2007 +0200 +++ b/dwm.h Sun Aug 19 10:40:07 2007 +0200 @@ -39,7 +39,7 @@ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ -enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */ +enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ typedef struct Client Client; struct Client { @@ -131,6 +131,8 @@ void togglemax(const char *arg); /* toggles maximization of floating client */ /* main.c */ +Bool gettextprop(Window w, Atom atom, + char *text, unsigned int size); /* return text property, UTF-8 compliant */ void updatebarpos(void); /* updates the bar position */ void quit(const char *arg); /* quit dwm nicely */ int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */