X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a54cf2ecef2ca83441dccd454c694b92bca42a16..aa53e39ec0eb39949c5c03d56da08204d14d9ff9:/dwm.h diff --git a/dwm.h b/dwm.h index 692c469..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,10 +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 incmasterw(const char *arg); /* increments the master width with arg's index 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 */