From 2d81b78b853565a3e34a8a9190e2362a6fdde739 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 11 Aug 2007 12:11:50 +0200 Subject: 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 --- dwm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dwm.h') diff --git a/dwm.h b/dwm.h index d20cf32..c2f1e7e 100644 --- a/dwm.h +++ b/dwm.h @@ -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 */ -- cgit v1.2.3