X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=d20cf32bd029672d777d6aaeec420ebc82f032c1;hb=aa53e39ec0eb39949c5c03d56da08204d14d9ff9;hp=7f7d42243b1b8eb5da8baa51888f6fe41afd5097;hpb=4216bf801f6754ca7b8c87c59166620e0a1d0456;p=dwm.git diff --git a/dwm.h b/dwm.h index 7f7d422..d20cf32 100644 --- a/dwm.h +++ b/dwm.h @@ -76,7 +76,7 @@ typedef struct { typedef struct { const char *symbol; - void (*arrange)(void); + void (*arrange)(const char *); } Layout; extern const char *tags[]; /* all tags */ @@ -120,11 +120,8 @@ 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(void); /* arranges all windows floating */ +void floating(const char *arg); /* arranges all windows floating */ void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ -void inchratio(const char *arg); /* increments the horizontal tile ratio with arg's value */ -void incvratio(const char *arg); /* increments the vertical tile ratio with arg's value */ -void incnmaster(const char *arg); /* increments nmaster with arg's index value */ void initlayouts(void); /* initialize layout array */ Client *nexttiled(Client *c); /* returns tiled successor of c */ void restack(void); /* restores z layers of all clients */