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