summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/dwm.h b/dwm.h
index cc8fd1a..6ab6bc3 100644
--- a/dwm.h
+++ b/dwm.h
@@ -88,6 +88,13 @@ extern DC dc; /* global draw context */
88extern Display *dpy; 88extern Display *dpy;
89extern Window root, barwin; 89extern Window root, barwin;
90 90
91/* bar.c */
92void drawbar(void); /* draw the bar */
93void initbar(void); /* initializes the bar */
94unsigned int textw(const char *text); /* return the width of text in px*/
95void togglebar(const char *arg); /* shows/hides the bar */
96void updatebarpos(void); /* updates the bar position */
97
91/* client.c */ 98/* client.c */
92void attach(Client *c); /* attaches c to global client list */ 99void attach(Client *c); /* attaches c to global client list */
93void ban(Client *c); /* bans c */ 100void ban(Client *c); /* bans c */
@@ -103,11 +110,6 @@ void unmanage(Client *c); /* unmanage c */
103void updatesizehints(Client *c); /* update the size hint variables of c */ 110void updatesizehints(Client *c); /* update the size hint variables of c */
104void updatetitle(Client *c); /* update the name of c */ 111void updatetitle(Client *c); /* update the name of c */
105 112
106/* draw.c */
107void drawbar(void); /* draw the bar */
108void drawtext(const char *text, unsigned long col[ColLast]); /* draw text */
109unsigned int textw(const char *text); /* return the width of text in px*/
110
111/* event.c */ 113/* event.c */
112void grabkeys(void); /* grab all keys defined in config.h */ 114void grabkeys(void); /* grab all keys defined in config.h */
113 115
@@ -132,12 +134,10 @@ Client *nexttiled(Client *c); /* returns tiled successor of c */
132void restack(void); /* restores z layers of all clients */ 134void restack(void); /* restores z layers of all clients */
133void setlayout(const char *arg); /* sets layout, NULL means next layout */ 135void setlayout(const char *arg); /* sets layout, NULL means next layout */
134void tag(const char *arg); /* tags sel with arg's index */ 136void tag(const char *arg); /* tags sel with arg's index */
135void togglebar(const char *arg); /* shows/hides the bar */
136void togglefloating(const char *arg); /* toggles sel between floating/tiled state */ 137void togglefloating(const char *arg); /* toggles sel between floating/tiled state */
137void togglemax(const char *arg); /* toggles maximization of floating client */ 138void togglemax(const char *arg); /* toggles maximization of floating client */
138void toggletag(const char *arg); /* toggles sel tags with arg's index */ 139void toggletag(const char *arg); /* toggles sel tags with arg's index */
139void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */ 140void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */
140void updatebarpos(void); /* updates the bar position */
141void view(const char *arg); /* views the tag with arg's index */ 141void view(const char *arg); /* views the tag with arg's index */
142 142
143/* util.c */ 143/* util.c */