comparison dwm.h @ 508:ede48935f2b3

added the new dotile as described on ml
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 16:22:20 +0200
parents 2824b5d0f0f0
children 1599c953647b
comparison
equal deleted inserted replaced
507:2824b5d0f0f0 508:ede48935f2b3
100 }; 100 };
101 101
102 extern const char *tags[]; /* all tags */ 102 extern const char *tags[]; /* all tags */
103 extern char stext[1024]; /* status text */ 103 extern char stext[1024]; /* status text */
104 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ 104 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */
105 extern int master, screen, sx, sy, sw, sh; /* screen geometry, master width */ 105 extern int master, screen, sx, sy, sw, sh; /* screen geometry, master dimension*/
106 extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ 106 extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */
107 extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 107 extern void (*handler[LASTEvent])(XEvent *); /* event handler */
108 extern void (*arrange)(Arg *); /* arrange function, indicates mode */ 108 extern void (*arrange)(Arg *); /* arrange function, indicates mode */
109 extern Atom wmatom[WMLast], netatom[NetLast]; 109 extern Atom wmatom[WMLast], netatom[NetLast];
110 extern Bool running, issel, *seltag; /* seltag is array of Bool */ 110 extern Bool running, issel, *seltag; /* seltag is array of Bool */
168 extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ 168 extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */
169 extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ 169 extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */
170 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 170 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
171 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 171 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
172 extern Bool isvisible(Client *c); /* returns True if client is visible */ 172 extern Bool isvisible(Client *c); /* returns True if client is visible */
173 extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ 173 extern void resizecol(Arg *arg); /* resizes the master dimension with arg's index value */
174 extern void restack(void); /* restores z layers of all clients */ 174 extern void restack(void); /* restores z layers of all clients */
175 extern void togglestackdir(Arg *arg); /* toggles stack direction */
176 extern void togglestackpos(Arg *arg); /* toggles stack position */
175 extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ 177 extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */
176 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ 178 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */
179 extern void updatemaster(void); /* updates master dimension */
177 extern void view(Arg *arg); /* views the tag with arg's index */ 180 extern void view(Arg *arg); /* views the tag with arg's index */
178 extern void viewall(Arg *arg); /* views all tags, arg is ignored */ 181 extern void viewall(Arg *arg); /* views all tags, arg is ignored */
179 extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */ 182 extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */