summaryrefslogtreecommitdiff
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:40:07 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:40:07 +0200
commit96d7fe16eaf6b656800f08da3156bacd75ca3b08 (patch)
tree98d884e096b5108d8181914540718b6b82c6893e /dwm.h
parent78d1a22d4e847d0e596af59d7707da1bbfe9583a (diff)
prepared merging layout.c and tag.c into screen.c
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index 9dd764f..36a0266 100644
--- a/dwm.h
+++ b/dwm.h
@@ -39,7 +39,7 @@ enum { BarTop, BarBot, BarOff }; /* bar position */
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 togglebar(const char *arg); /* shows/hides the bar */
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 */