99 }; |
99 }; |
100 |
100 |
101 extern const char *tags[]; /* all tags */ |
101 extern const char *tags[]; /* all tags */ |
102 extern char stext[1024]; /* status text */ |
102 extern char stext[1024]; /* status text */ |
103 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ |
103 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ |
104 extern int master, screen, sx, sy, sw, sh; /* screen geometry, master dimension*/ |
104 extern int screen, sx, sy, sw, sh; /* screen geometry */ |
105 extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ |
105 extern unsigned int master, ntags, numlockmask; /* master percent, number of tags, dynamic lock mask */ |
106 extern void (*handler[LASTEvent])(XEvent *); /* event handler */ |
106 extern void (*handler[LASTEvent])(XEvent *); /* event handler */ |
107 extern void (*arrange)(Arg *); /* arrange function, indicates mode */ |
107 extern void (*arrange)(Arg *); /* arrange function, indicates mode */ |
108 extern Atom wmatom[WMLast], netatom[NetLast]; |
108 extern Atom wmatom[WMLast], netatom[NetLast]; |
109 extern Bool running, issel, *seltag; /* seltag is array of Bool */ |
109 extern Bool running, issel, *seltag; /* seltag is array of Bool */ |
110 extern Client *clients, *sel, *stack; /* global client list and stack */ |
110 extern Client *clients, *sel, *stack; /* global client list and stack */ |
166 extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ |
166 extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ |
167 extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ |
167 extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ |
168 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
168 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
169 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
169 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
170 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
170 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
171 extern void resizecol(Arg *arg); /* resizes the master dimension with arg's index value */ |
171 extern void resizecol(Arg *arg); /* resizes the master percent with arg's index value */ |
172 extern void restack(void); /* restores z layers of all clients */ |
172 extern void restack(void); /* restores z layers of all clients */ |
173 extern void togglestackpos(Arg *arg); /* toggles stack position */ |
173 extern void togglestackpos(Arg *arg); /* toggles stack position */ |
174 extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ |
174 extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ |
175 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
175 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
176 extern void view(Arg *arg); /* views the tag with arg's index */ |
176 extern void view(Arg *arg); /* views the tag with arg's index */ |