summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/dwm.h b/dwm.h
index 0d55143..1a12322 100644
--- a/dwm.h
+++ b/dwm.h
@@ -48,7 +48,6 @@ struct Client {
48 int rx, ry, rw, rh; /* revert geometry */ 48 int rx, ry, rw, rh; /* revert geometry */
49 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 49 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
50 int minax, maxax, minay, maxay; 50 int minax, maxax, minay, maxay;
51 int unmapped;
52 long flags; 51 long flags;
53 unsigned int border, oldborder; 52 unsigned int border, oldborder;
54 Bool isbanned, isfixed, ismax, isfloating; 53 Bool isbanned, isfixed, ismax, isfloating;
@@ -81,7 +80,7 @@ extern int wax, way, wah, waw; /* windowarea geometry */
81extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ 80extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */
82extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */ 81extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */
83extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 82extern void (*handler[LASTEvent])(XEvent *); /* event handler */
84extern Atom dwmprops, wmatom[WMLast], netatom[NetLast]; 83extern Atom wmatom[WMLast], netatom[NetLast];
85extern Bool selscreen, *seltags; /* seltags is array of Bool */ 84extern Bool selscreen, *seltags; /* seltags is array of Bool */
86extern Client *clients, *sel, *stack; /* global client list and stack */ 85extern Client *clients, *sel, *stack; /* global client list and stack */
87extern Cursor cursor[CurLast]; 86extern Cursor cursor[CurLast];
@@ -96,13 +95,11 @@ void configure(Client *c); /* send synthetic configure event */
96void detach(Client *c); /* detaches c from global client list */ 95void detach(Client *c); /* detaches c from global client list */
97void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ 96void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */
98void killclient(const char *arg); /* kill sel nicely */ 97void killclient(const char *arg); /* kill sel nicely */
99Bool getprops(Client *c); /* gets client properties */
100void manage(Window w, XWindowAttributes *wa); /* manage new client */ 98void manage(Window w, XWindowAttributes *wa); /* manage new client */
101void resize(Client *c, int x, int y, 99void resize(Client *c, int x, int y,
102 int w, int h, Bool sizehints); /* resize with given coordinates c*/ 100 int w, int h, Bool sizehints); /* resize with given coordinates c*/
103void setprops(Client *c); /* sets client properties */
104void unban(Client *c); /* unbans c */ 101void unban(Client *c); /* unbans c */
105void unmanage(Client *c, long state); /* unmanage c */ 102void unmanage(Client *c); /* unmanage c */
106void updatesizehints(Client *c); /* update the size hint variables of c */ 103void updatesizehints(Client *c); /* update the size hint variables of c */
107void updatetitle(Client *c); /* update the name of c */ 104void updatetitle(Client *c); /* update the name of c */
108 105
@@ -131,7 +128,6 @@ void initlayouts(void); /* initialize layout array */
131Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */ 128Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */
132Bool isfloating(void); /* returns True if floating layout is enabled */ 129Bool isfloating(void); /* returns True if floating layout is enabled */
133Bool isvisible(Client *c); /* returns True if client is visible */ 130Bool isvisible(Client *c); /* returns True if client is visible */
134void getdwmprops(void); /* gets dwm properties */
135Client *nexttiled(Client *c); /* returns tiled successor of c */ 131Client *nexttiled(Client *c); /* returns tiled successor of c */
136void restack(void); /* restores z layers of all clients */ 132void restack(void); /* restores z layers of all clients */
137void setlayout(const char *arg); /* sets layout, NULL means next layout */ 133void setlayout(const char *arg); /* sets layout, NULL means next layout */