summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-19 11:31:04 +0200
committerarg@10ksloc.org <unknown>2006-07-19 11:31:04 +0200
commitc53980cddcee8afd13ea793134ed3ddf5dbef0e3 (patch)
tree44d98af7d722ffabac12eb271b81a74f9bd49834 /dwm.h
parentchanged CFLAGs (diff)
downloaddwm-c53980cddcee8afd13ea793134ed3ddf5dbef0e3.tar.gz
dwm-c53980cddcee8afd13ea793134ed3ddf5dbef0e3.zip
applied Sanders resize patch, fixed lower bug
Diffstat (limited to '')
-rw-r--r--dwm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index 6b907a9..d3138be 100644
--- a/dwm.h
+++ b/dwm.h
@@ -25,6 +25,7 @@ enum { Tscratch, Tdev, Twww, Twork, TLast };
25/********** CUSTOMIZE **********/ 25/********** CUSTOMIZE **********/
26 26
27typedef union Arg Arg; 27typedef union Arg Arg;
28typedef enum Corner Corner;
28typedef struct DC DC; 29typedef struct DC DC;
29typedef struct Client Client; 30typedef struct Client Client;
30typedef struct Fnt Fnt; 31typedef struct Fnt Fnt;
@@ -43,6 +44,8 @@ enum { WMProtocols, WMDelete, WMLast };
43/* cursor */ 44/* cursor */
44enum { CurNormal, CurResize, CurMove, CurLast }; 45enum { CurNormal, CurResize, CurMove, CurLast };
45 46
47enum Corner { TopLeft, TopRight, BottomLeft, BottomRight };
48
46struct Fnt { 49struct Fnt {
47 int ascent; 50 int ascent;
48 int descent; 51 int descent;
@@ -121,7 +124,7 @@ extern void lower(Client *c);
121extern void manage(Window w, XWindowAttributes *wa); 124extern void manage(Window w, XWindowAttributes *wa);
122extern void maximize(Arg *arg); 125extern void maximize(Arg *arg);
123extern void pop(Client *c); 126extern void pop(Client *c);
124extern void resize(Client *c, Bool inc); 127extern void resize(Client *c, Bool inc, Corner sticky);
125extern void setgeom(Client *c); 128extern void setgeom(Client *c);
126extern void setsize(Client *c); 129extern void setsize(Client *c);
127extern void settitle(Client *c); 130extern void settitle(Client *c);