diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-22 19:01:05 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-22 19:01:05 +0200 |
| commit | 36672d0401299a5230b516ca4575365d9f45dd35 (patch) | |
| tree | 3770848e8bec981cdc239d0e89b2a241f2bdfc67 /dwm.h | |
| parent | renamed char prop[] into buf[] (diff) | |
| download | dwm-36672d0401299a5230b516ca4575365d9f45dd35.tar.gz dwm-36672d0401299a5230b516ca4575365d9f45dd35.zip | |
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -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 */ | |||
| 81 | extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ | 80 | extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ |
| 82 | extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */ | 81 | extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */ |
| 83 | extern void (*handler[LASTEvent])(XEvent *); /* event handler */ | 82 | extern void (*handler[LASTEvent])(XEvent *); /* event handler */ |
| 84 | extern Atom dwmprops, wmatom[WMLast], netatom[NetLast]; | 83 | extern Atom wmatom[WMLast], netatom[NetLast]; |
| 85 | extern Bool selscreen, *seltags; /* seltags is array of Bool */ | 84 | extern Bool selscreen, *seltags; /* seltags is array of Bool */ |
| 86 | extern Client *clients, *sel, *stack; /* global client list and stack */ | 85 | extern Client *clients, *sel, *stack; /* global client list and stack */ |
| 87 | extern Cursor cursor[CurLast]; | 86 | extern Cursor cursor[CurLast]; |
| @@ -96,13 +95,11 @@ void configure(Client *c); /* send synthetic configure event */ | |||
| 96 | void detach(Client *c); /* detaches c from global client list */ | 95 | void detach(Client *c); /* detaches c from global client list */ |
| 97 | void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ | 96 | void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ |
| 98 | void killclient(const char *arg); /* kill sel nicely */ | 97 | void killclient(const char *arg); /* kill sel nicely */ |
| 99 | Bool getprops(Client *c); /* gets client properties */ | ||
| 100 | void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 98 | void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
| 101 | void resize(Client *c, int x, int y, | 99 | void 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*/ |
| 103 | void setprops(Client *c); /* sets client properties */ | ||
| 104 | void unban(Client *c); /* unbans c */ | 101 | void unban(Client *c); /* unbans c */ |
| 105 | void unmanage(Client *c, long state); /* unmanage c */ | 102 | void unmanage(Client *c); /* unmanage c */ |
| 106 | void updatesizehints(Client *c); /* update the size hint variables of c */ | 103 | void updatesizehints(Client *c); /* update the size hint variables of c */ |
| 107 | void updatetitle(Client *c); /* update the name of c */ | 104 | void updatetitle(Client *c); /* update the name of c */ |
| 108 | 105 | ||
| @@ -131,7 +128,6 @@ void initlayouts(void); /* initialize layout array */ | |||
| 131 | Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */ | 128 | Bool isarrange(void (*func)()); /* returns True if func is the layout function in use */ |
| 132 | Bool isfloating(void); /* returns True if floating layout is enabled */ | 129 | Bool isfloating(void); /* returns True if floating layout is enabled */ |
| 133 | Bool isvisible(Client *c); /* returns True if client is visible */ | 130 | Bool isvisible(Client *c); /* returns True if client is visible */ |
| 134 | void getdwmprops(void); /* gets dwm properties */ | ||
| 135 | Client *nexttiled(Client *c); /* returns tiled successor of c */ | 131 | Client *nexttiled(Client *c); /* returns tiled successor of c */ |
| 136 | void restack(void); /* restores z layers of all clients */ | 132 | void restack(void); /* restores z layers of all clients */ |
| 137 | void setlayout(const char *arg); /* sets layout, NULL means next layout */ | 133 | void setlayout(const char *arg); /* sets layout, NULL means next layout */ |
