equal
deleted
inserted
replaced
74 } font; |
74 } font; |
75 } DC; /* draw context */ |
75 } DC; /* draw context */ |
76 |
76 |
77 typedef struct { |
77 typedef struct { |
78 const char *symbol; |
78 const char *symbol; |
79 void (*arrange)(void); |
79 void (*arrange)(const char *); |
80 } Layout; |
80 } Layout; |
81 |
81 |
82 extern const char *tags[]; /* all tags */ |
82 extern const char *tags[]; /* all tags */ |
83 extern char stext[256]; /* status text */ |
83 extern char stext[256]; /* status text */ |
84 extern int screen, sx, sy, sw, sh; /* screen geometry */ |
84 extern int screen, sx, sy, sw, sh; /* screen geometry */ |
118 |
118 |
119 /* event.c */ |
119 /* event.c */ |
120 void grabkeys(void); /* grab all keys defined in config.h */ |
120 void grabkeys(void); /* grab all keys defined in config.h */ |
121 |
121 |
122 /* layout.c */ |
122 /* layout.c */ |
123 void floating(void); /* arranges all windows floating */ |
123 void floating(const char *arg); /* arranges all windows floating */ |
124 void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
124 void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
125 void inchratio(const char *arg); /* increments the horizontal tile ratio with arg's value */ |
|
126 void incvratio(const char *arg); /* increments the vertical tile ratio with arg's value */ |
|
127 void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
|
128 void initlayouts(void); /* initialize layout array */ |
125 void initlayouts(void); /* initialize layout array */ |
129 Client *nexttiled(Client *c); /* returns tiled successor of c */ |
126 Client *nexttiled(Client *c); /* returns tiled successor of c */ |
130 void restack(void); /* restores z layers of all clients */ |
127 void restack(void); /* restores z layers of all clients */ |
131 void setlayout(const char *arg); /* sets layout, NULL means next layout */ |
128 void setlayout(const char *arg); /* sets layout, NULL means next layout */ |
132 void togglebar(const char *arg); /* shows/hides the bar */ |
129 void togglebar(const char *arg); /* shows/hides the bar */ |