diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
commit | 2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch) | |
tree | d58d24853f77685588e42f73a01d782980a3b95e /dwm.h | |
parent | b5eea45a316a897632578a74c909aa336557b1d6 (diff) | |
download | dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.gz dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.bz2 dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.zip |
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -76,7 +76,7 @@ typedef struct { typedef struct { const char *symbol; - void (*arrange)(const char *); + void (*arrange)(void); } Layout; extern const char *tags[]; /* all tags */ @@ -120,15 +120,12 @@ unsigned int textw(const char *text); /* return the width of text in px*/ void grabkeys(void); /* grab all keys defined in config.h */ /* layout.c */ -void floating(const char *arg); /* arranges all windows floating */ void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ void initlayouts(void); /* initialize layout array */ Client *nexttiled(Client *c); /* returns tiled successor of c */ void restack(void); /* restores z layers of all clients */ void setlayout(const char *arg); /* sets layout, NULL means next layout */ void togglebar(const char *arg); /* shows/hides the bar */ -void togglemax(const char *arg); /* toggles maximization of floating client */ -void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ /* main.c */ void updatebarpos(void); /* updates the bar position */ |