about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-08 11:08:40 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-08 11:08:40 +0100
commit4590d7877c1ec4ea4a3f0a832f8ea037612d7096 (patch)
treeb57e6bad01a185a8c389bb7e4c24147be9ed5e38
parentf577fe4e274aa5bc6ad136f9fd5b2338c3779eca (diff)
downloaddwm-4590d7877c1ec4ea4a3f0a832f8ea037612d7096.tar.gz
making the bar appear at bottom
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index da95d95..4f1c6aa 100644
--- a/main.c
+++ b/main.c
@@ -141,7 +141,7 @@ setup(void) {
 	wa.override_redirect = 1;
 	wa.background_pixmap = ParentRelative;
 	wa.event_mask = ButtonPressMask | ExposureMask;
-	barwin = XCreateWindow(dpy, root, sx, sy, sw, bh, 0, DefaultDepth(dpy, screen),
+	barwin = XCreateWindow(dpy, root, sx, sy + sh - bh, sw, bh, 0, DefaultDepth(dpy, screen),
 			CopyFromParent, DefaultVisual(dpy, screen),
 			CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
 	XDefineCursor(dpy, barwin, cursor[CurNormal]);
@@ -149,7 +149,7 @@ setup(void) {
 	strcpy(stext, "dwm-"VERSION);
 	/* windowarea */
 	wax = sx;
-	way = sy + bh;
+	way = sy;
 	wah = sh - bh;
 	waw = sw;
 	/* pixmap for everything */
t; 2015-09-30 01:57:23 -0700 2221' href='/akkartik/mu/commit/023boolean.cc?h=main&id=4e49b29e63b0d369b81318ac822dc06ce06786b5'>4e49b29e ^
9dcbec39 ^
4e49b29e ^


bff0fa45 ^
acc4792d ^
bff0fa45 ^


9dcbec39 ^
bff0fa45 ^

4e49b29e ^

98f7918b ^

0487a30e ^
b24eb476 ^
0487a30e ^
0487a30e ^
827898fc ^
98f7918b ^


88be3dbc ^
1ead3562 ^
bc643692 ^

0487a30e ^
98f7918b ^
57699011 ^
98f7918b ^
051c4738 ^
1ead3562 ^
bc643692 ^
0487a30e ^



1ead3562 ^
bc643692 ^
0487a30e ^


051c4738 ^
1ead3562 ^
bc643692 ^
0487a30e ^


1848b18f ^

98f7918b ^
795f5244 ^
e236973b ^
4e49b29e ^
b24eb476 ^
4e49b29e ^
9dcbec39 ^
4e49b29e ^


bff0fa45 ^
acc4792d ^
bff0fa45 ^


9dcbec39 ^
bff0fa45 ^

4e49b29e ^

98f7918b ^

0487a30e ^
b24eb476 ^
0487a30e ^
0487a30e ^
827898fc ^
98f7918b ^


88be3dbc ^
1ead3562 ^
bc643692 ^

0487a30e ^
98f7918b ^
57699011 ^
d7e11237 ^
051c4738 ^
1ead3562 ^
bc643692 ^
0487a30e ^



1ead3562 ^
bc643692 ^
0487a30e ^


051c4738 ^
1ead3562 ^
bc643692 ^
0487a30e ^


1848b18f ^

d7e11237 ^
795f5244 ^
e236973b ^
4e49b29e ^
67a180e3 ^

4e49b29e ^

b24eb476 ^
4e49b29e ^
9dcbec39 ^
4e49b29e ^


b24eb476 ^
bff0fa45 ^

9dcbec39 ^
bff0fa45 ^


4e49b29e ^

d7e11237 ^

e4630643 ^
b24eb476 ^
827898fc ^
0487a30e ^
d7e11237 ^


88be3dbc ^
1ead3562 ^
bc643692 ^
0487a30e ^
d7e11237 ^
57699011 ^
0487a30e ^

1ead3562 ^
bc643692 ^
0487a30e ^



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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166