summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/dwm.h b/dwm.h
index fde6b96..9dd764f 100644
--- a/dwm.h
+++ b/dwm.h
@@ -81,7 +81,7 @@ extern int wax, way, wah, waw; /* windowarea geometry */
81extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ 81extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */
82extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */ 82extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */
83extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 83extern void (*handler[LASTEvent])(XEvent *); /* event handler */
84extern Atom dwmconfig, wmatom[WMLast], netatom[NetLast]; 84extern Atom dwmprops, wmatom[WMLast], netatom[NetLast];
85extern Bool selscreen, *seltags; /* seltags is array of Bool */ 85extern Bool selscreen, *seltags; /* seltags is array of Bool */
86extern Client *clients, *sel, *stack; /* global client list and stack */ 86extern Client *clients, *sel, *stack; /* global client list and stack */
87extern Cursor cursor[CurLast]; 87extern Cursor cursor[CurLast];
@@ -96,11 +96,11 @@ void configure(Client *c); /* send synthetic configure event */
96void detach(Client *c); /* detaches c from global client list */ 96void detach(Client *c); /* detaches c from global client list */
97void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ 97void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */
98void killclient(const char *arg); /* kill sel nicely */ 98void killclient(const char *arg); /* kill sel nicely */
99Bool loadconfig(Client *c); /* loads client properties */ 99Bool loadprops(Client *c); /* loads client properties */
100void manage(Window w, XWindowAttributes *wa); /* manage new client */ 100void manage(Window w, XWindowAttributes *wa); /* manage new client */
101void resize(Client *c, int x, int y, 101void resize(Client *c, int x, int y,
102 int w, int h, Bool sizehints); /* resize with given coordinates c*/ 102 int w, int h, Bool sizehints); /* resize with given coordinates c*/
103void saveconfig(Client *c); /* saves client properties */ 103void saveprops(Client *c); /* saves client properties */
104void unban(Client *c); /* unbans c */ 104void unban(Client *c); /* unbans c */
105void unmanage(Client *c, long state); /* unmanage c */ 105void unmanage(Client *c, long state); /* unmanage c */
106void updatesizehints(Client *c); /* update the size hint variables of c */ 106void updatesizehints(Client *c); /* update the size hint variables of c */
@@ -122,8 +122,10 @@ const char *getsymbol(void); /* returns symbol of enabled layout */
122Bool isfloating(void); /* returns True if floating layout is enabled */ 122Bool isfloating(void); /* returns True if floating layout is enabled */
123Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */ 123Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */
124void initlayouts(void); /* initialize layout array */ 124void initlayouts(void); /* initialize layout array */
125void loaddwmprops(void); /* loads dwm properties */
125Client *nexttiled(Client *c); /* returns tiled successor of c */ 126Client *nexttiled(Client *c); /* returns tiled successor of c */
126void restack(void); /* restores z layers of all clients */ 127void restack(void); /* restores z layers of all clients */
128void savedwmprops(void); /* saves dwm properties */
127void setlayout(const char *arg); /* sets layout, NULL means next layout */ 129void setlayout(const char *arg); /* sets layout, NULL means next layout */
128void togglebar(const char *arg); /* shows/hides the bar */ 130void togglebar(const char *arg); /* shows/hides the bar */
129void togglemax(const char *arg); /* toggles maximization of floating client */ 131void togglemax(const char *arg); /* toggles maximization of floating client */