about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/dwm.h b/dwm.h
index d18ef20..bcdb4e3 100644
--- a/dwm.h
+++ b/dwm.h
@@ -25,9 +25,12 @@ enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
 
 /* END CUSTOMIZE */
 
+/* mask shorthands, used in event.c and client.c */
+#define ButtonMask	(ButtonPressMask | ButtonReleaseMask)
+#define MouseMask	(ButtonMask | PointerMotionMask)
+
 typedef union Arg Arg;
 typedef struct Client Client;
-typedef enum Corner Corner;
 typedef struct DC DC;
 typedef struct Fnt Fnt;
 
@@ -43,7 +46,8 @@ enum { WMProtocols, WMDelete, WMLast };
 /* cursor */
 enum { CurNormal, CurResize, CurMove, CurLast };
 
-enum Corner { TopLeft, TopRight, BotLeft, BotRight };
+/* windowcorners */
+typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
 
 struct Fnt {
 	int ascent;
d=805959378dfa90b13819710c037930108e47d9a8'>^
594674797 ^
e25474154 ^
2df9b442c ^
731c6f908 ^
e25474154 ^
dd806cafa ^


2df9b442c ^
731c6f908 ^
e25474154 ^
740527813 ^
731c6f908 ^



dd806cafa ^
740527813 ^
89f9772f1 ^
731c6f908 ^

e25474154 ^
72e7a9854 ^
e25474154 ^
731c6f908 ^

e25474154 ^
dd806cafa ^















710cbe3f1 ^
dd806cafa ^

22fb9db84 ^
dd806cafa ^







a9a5766c6 ^

dd806cafa ^

2df9b442c ^
731c6f908 ^
2df9b442c ^
5e15dec17 ^
2df9b442c ^





5506e8491 ^
b961e47bf ^
5e839d50b ^
a7911addf ^
dbf9117c5 ^
3b7ef2288 ^

dd806cafa ^










e25474154 ^
2df9b442c ^


731c6f908 ^
e25474154 ^
438703f59 ^
2df9b442c ^
e25474154 ^
2df9b442c ^

438703f59 ^
48e95fe9f ^
e25474154 ^
2df9b442c ^

e25474154 ^
2df9b442c ^


438703f59 ^
2df9b442c ^


438703f59 ^
2df9b442c ^
438703f59 ^
2df9b442c ^

92b8fac94 ^
731c6f908 ^
92b8fac94 ^


b731e6ef1 ^
dd806cafa ^
5e5e4abfe ^
2df9b442c ^
cb6441e73 ^

f99c40f61 ^
cb6441e73 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145