summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
commit47765f728614c348aa7dfc2eed6f754efc376922 (patch)
tree47f8667ef723767ec41df2403bdce1ee80dccd17 /dwm.h
parentprepared merging layout.c and tag.c into screen.c (diff)
downloaddwm-47765f728614c348aa7dfc2eed6f754efc376922.tar.gz
dwm-47765f728614c348aa7dfc2eed6f754efc376922.zip
added screen.c, removed layout.c and tag.c
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h35
1 files changed, 16 insertions, 19 deletions
diff --git a/dwm.h b/dwm.h
index 36a0266..105912f 100644
--- a/dwm.h
+++ b/dwm.h
@@ -96,11 +96,11 @@ void configure(Client *c); /* send synthetic configure event */
96void detach(Client *c); /* detaches c from global client list */ 96void detach(Client *c); /* detaches c from global client list */
97void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ 97void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */
98void killclient(const char *arg); /* kill sel nicely */ 98void killclient(const char *arg); /* kill sel nicely */
99Bool loadprops(Client *c); /* loads client properties */ 99Bool getprops(Client *c); /* gets client properties */
100void manage(Window w, XWindowAttributes *wa); /* manage new client */ 100void manage(Window w, XWindowAttributes *wa); /* manage new client */
101void resize(Client *c, int x, int y, 101void resize(Client *c, int x, int y,
102 int w, int h, Bool sizehints); /* resize with given coordinates c*/ 102 int w, int h, Bool sizehints); /* resize with given coordinates c*/
103void saveprops(Client *c); /* saves client properties */ 103void setprops(Client *c); /* sets client properties */
104void unban(Client *c); /* unbans c */ 104void unban(Client *c); /* unbans c */
105void unmanage(Client *c, long state); /* unmanage c */ 105void unmanage(Client *c, long state); /* unmanage c */
106void updatesizehints(Client *c); /* update the size hint variables of c */ 106void updatesizehints(Client *c); /* update the size hint variables of c */
@@ -114,22 +114,6 @@ unsigned int textw(const char *text); /* return the width of text in px*/
114/* event.c */ 114/* event.c */
115void grabkeys(void); /* grab all keys defined in config.h */ 115void grabkeys(void); /* grab all keys defined in config.h */
116 116
117/* layout.c */
118void arrange(void); /* arranges all windows depending on the layout in use */
119void focusnext(const char *arg); /* focuses next visible client */
120void focusprev(const char *arg); /* focuses prev visible client */
121const char *getsymbol(void); /* returns symbol of enabled layout */
122Bool isfloating(void); /* returns True if floating layout is enabled */
123Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */
124void initlayouts(void); /* initialize layout array */
125void loaddwmprops(void); /* loads dwm properties */
126Client *nexttiled(Client *c); /* returns tiled successor of c */
127void restack(void); /* restores z layers of all clients */
128void savedwmprops(void); /* saves dwm properties */
129void setlayout(const char *arg); /* sets layout, NULL means next layout */
130void togglebar(const char *arg); /* shows/hides the bar */
131void togglemax(const char *arg); /* toggles maximization of floating client */
132
133/* main.c */ 117/* main.c */
134Bool gettextprop(Window w, Atom atom, 118Bool gettextprop(Window w, Atom atom,
135 char *text, unsigned int size); /* return text property, UTF-8 compliant */ 119 char *text, unsigned int size); /* return text property, UTF-8 compliant */
@@ -137,12 +121,25 @@ void updatebarpos(void); /* updates the bar position */
137void quit(const char *arg); /* quit dwm nicely */ 121void quit(const char *arg); /* quit dwm nicely */
138int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ 122int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */
139 123
140/* tag.c */ 124/* screen.c */
141void applyrules(Client *c); /* applies rules to c */ 125void applyrules(Client *c); /* applies rules to c */
126void arrange(void); /* arranges all windows depending on the layout in use */
142void compileregs(void); /* initialize regexps of rules defined in config.h */ 127void compileregs(void); /* initialize regexps of rules defined in config.h */
128void focusnext(const char *arg); /* focuses next visible client */
129void focusprev(const char *arg); /* focuses prev visible client */
130const char *getsymbol(void); /* returns symbol of enabled layout */
131void initlayouts(void); /* initialize layout array */
132Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */
133Bool isfloating(void); /* returns True if floating layout is enabled */
143Bool isvisible(Client *c); /* returns True if client is visible */ 134Bool isvisible(Client *c); /* returns True if client is visible */
135void getdwmprops(void); /* gets dwm properties */
136Client *nexttiled(Client *c); /* returns tiled successor of c */
137void restack(void); /* restores z layers of all clients */
138void setlayout(const char *arg); /* sets layout, NULL means next layout */
144void tag(const char *arg); /* tags sel with arg's index */ 139void tag(const char *arg); /* tags sel with arg's index */
140void togglebar(const char *arg); /* shows/hides the bar */
145void togglefloating(const char *arg); /* toggles sel between floating/tiled state */ 141void togglefloating(const char *arg); /* toggles sel between floating/tiled state */
142void togglemax(const char *arg); /* toggles maximization of floating client */
146void toggletag(const char *arg); /* toggles sel tags with arg's index */ 143void toggletag(const char *arg); /* toggles sel tags with arg's index */
147void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */ 144void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */
148void view(const char *arg); /* views the tag with arg's index */ 145void view(const char *arg); /* views the tag with arg's index */