equal
deleted
inserted
replaced
23 enum { Tscratch, Tdev, Twww, Twork, TLast }; |
23 enum { Tscratch, Tdev, Twww, Twork, TLast }; |
24 |
24 |
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; |
31 typedef struct Key Key; |
32 typedef struct Key Key; |
32 typedef struct Rule Rule; |
33 typedef struct Rule Rule; |
40 enum { NetSupported, NetWMName, NetLast }; |
41 enum { NetSupported, NetWMName, NetLast }; |
41 enum { WMProtocols, WMDelete, WMLast }; |
42 enum { WMProtocols, WMDelete, WMLast }; |
42 |
43 |
43 /* cursor */ |
44 /* cursor */ |
44 enum { CurNormal, CurResize, CurMove, CurLast }; |
45 enum { CurNormal, CurResize, CurMove, CurLast }; |
|
46 |
|
47 enum Corner { TopLeft, TopRight, BottomLeft, BottomRight }; |
45 |
48 |
46 struct Fnt { |
49 struct Fnt { |
47 int ascent; |
50 int ascent; |
48 int descent; |
51 int descent; |
49 int height; |
52 int height; |
119 extern void killclient(Arg *arg); |
122 extern void killclient(Arg *arg); |
120 extern void lower(Client *c); |
123 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); |
128 extern void unmanage(Client *c); |
131 extern void unmanage(Client *c); |
129 extern void zoom(Arg *arg); |
132 extern void zoom(Arg *arg); |