typedef struct Client Client;
struct Client {
char name[256];
- float scale;
int x, y, w, h;
int rx, ry, rw, rh; /* revert geometry */
int basew, baseh, incw, inch, maxw, maxh, minw, minh;
typedef struct {
const char *symbol;
- void (*arrange)(void);
+ void (*arrange)(const char *);
} Layout;
extern const char *tags[]; /* all tags */
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 incratio(const char *arg); /* increments the 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 */