diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-21 11:39:57 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-21 11:39:57 +0100 |
| commit | 29c26b88e7333fb8ea022c4bb4277bc0394ab9e3 (patch) | |
| tree | f48255b650c9b8ecf252a2b6a5b0ca10b4158780 /dwm.h | |
| parent | cleaned up and commented the config.*.h (diff) | |
| download | dwm-29c26b88e7333fb8ea022c4bb4277bc0394ab9e3.tar.gz dwm-29c26b88e7333fb8ea022c4bb4277bc0394ab9e3.zip | |
moved focus{next,prev} and nexttiled from client.c to layout.c (because those are not client-specific), moved toggleversatile() from layout.c to client.c (because those are client-specific)
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -105,13 +105,11 @@ extern Window root, barwin; | |||
| 105 | /* client.c */ | 105 | /* client.c */ |
| 106 | extern void configure(Client *c); /* send synthetic configure event */ | 106 | extern void configure(Client *c); /* send synthetic configure event */ |
| 107 | extern void focus(Client *c); /* focus c, c may be NULL */ | 107 | extern void focus(Client *c); /* focus c, c may be NULL */ |
| 108 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | ||
| 109 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | ||
| 110 | extern void killclient(Arg *arg); /* kill c nicely */ | 108 | extern void killclient(Arg *arg); /* kill c nicely */ |
| 111 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 109 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
| 112 | extern Client *nexttiled(Client *c); /* returns tiled successor of c */ | ||
| 113 | extern void resize(Client *c, int x, int y, | 110 | extern void resize(Client *c, int x, int y, |
| 114 | int w, int h, Bool sizehints); /* resize with given coordinates c*/ | 111 | int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
| 112 | extern void toggleversatile(Arg *arg); /* toggles focused client between versatile/and non-versatile state */ | ||
| 115 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ | 113 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
| 116 | extern void updatetitle(Client *c); /* update the name of c */ | 114 | extern void updatetitle(Client *c); /* update the name of c */ |
| 117 | extern void unmanage(Client *c); /* destroy c */ | 115 | extern void unmanage(Client *c); /* destroy c */ |
| @@ -127,12 +125,14 @@ extern unsigned int textw(const char *text); /* return the width of text in px*/ | |||
| 127 | extern void grabkeys(void); /* grab all keys defined in config.h */ | 125 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 128 | 126 | ||
| 129 | /* layout.c */ | 127 | /* layout.c */ |
| 128 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | ||
| 129 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | ||
| 130 | extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ | 130 | extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ |
| 131 | extern void initlayouts(void); /* initialize layout array */ | 131 | extern void initlayouts(void); /* initialize layout array */ |
| 132 | extern Client *nexttiled(Client *c); /* returns tiled successor of c */ | ||
| 132 | extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ | 133 | extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
| 133 | extern void restack(void); /* restores z layers of all clients */ | 134 | extern void restack(void); /* restores z layers of all clients */ |
| 134 | extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ | 135 | extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ |
| 135 | extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ | ||
| 136 | extern void versatile(void); /* arranges all windows versatile */ | 136 | extern void versatile(void); /* arranges all windows versatile */ |
| 137 | 137 | ||
| 138 | /* main.c */ | 138 | /* main.c */ |
