diff options
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -25,6 +25,7 @@ enum { Tscratch, Tdev, Twww, Twork, TLast }; | |||
| 25 | /********** CUSTOMIZE **********/ | 25 | /********** CUSTOMIZE **********/ |
| 26 | 26 | ||
| 27 | typedef union Arg Arg; | 27 | typedef union Arg Arg; |
| 28 | typedef enum Corner Corner; | ||
| 28 | typedef struct DC DC; | 29 | typedef struct DC DC; |
| 29 | typedef struct Client Client; | 30 | typedef struct Client Client; |
| 30 | typedef struct Fnt Fnt; | 31 | typedef struct Fnt Fnt; |
| @@ -43,6 +44,8 @@ enum { WMProtocols, WMDelete, WMLast }; | |||
| 43 | /* cursor */ | 44 | /* cursor */ |
| 44 | enum { CurNormal, CurResize, CurMove, CurLast }; | 45 | enum { CurNormal, CurResize, CurMove, CurLast }; |
| 45 | 46 | ||
| 47 | enum Corner { TopLeft, TopRight, BottomLeft, BottomRight }; | ||
| 48 | |||
| 46 | struct Fnt { | 49 | struct Fnt { |
| 47 | int ascent; | 50 | int ascent; |
| 48 | int descent; | 51 | int descent; |
| @@ -121,7 +124,7 @@ extern void lower(Client *c); | |||
| 121 | extern void manage(Window w, XWindowAttributes *wa); | 124 | extern void manage(Window w, XWindowAttributes *wa); |
| 122 | extern void maximize(Arg *arg); | 125 | extern void maximize(Arg *arg); |
| 123 | extern void pop(Client *c); | 126 | extern void pop(Client *c); |
| 124 | extern void resize(Client *c, Bool inc); | 127 | extern void resize(Client *c, Bool inc, Corner sticky); |
| 125 | extern void setgeom(Client *c); | 128 | extern void setgeom(Client *c); |
| 126 | extern void setsize(Client *c); | 129 | extern void setsize(Client *c); |
| 127 | extern void settitle(Client *c); | 130 | extern void settitle(Client *c); |
