comparison dwm.h @ 99:a19556fe83b5

applied Sanders resize patch, fixed lower bug
author arg@10ksloc.org
date Wed, 19 Jul 2006 11:31:04 +0200
parents 5d88952cbf96
children 3e74cc981e9b
comparison
equal deleted inserted replaced
98:f08394353588 99:a19556fe83b5
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);