about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:11:14 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:11:14 +0200
commitf60c597d653bd7eab6c620fc53d732ca75f6a880 (patch)
treed7cc81bf3fbcea4b5c68b6d568fcb3fae6d5588b
parentc09bf8da071e05e2c1d714f0d31d41fe944bc11b (diff)
downloaddwm-f60c597d653bd7eab6c620fc53d732ca75f6a880.tar.gz
changing XFlush into XSync
-rw-r--r--dwm.h5
-rw-r--r--dwm.html6
-rw-r--r--event.c2
-rw-r--r--main.c4
4 files changed, 11 insertions, 6 deletions
diff --git a/dwm.h b/dwm.h
index e7ddaa7..e43301c 100644
--- a/dwm.h
+++ b/dwm.h
@@ -8,9 +8,14 @@
 /********** CUSTOMIZE **********/
 
 #define FONT				"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
+#define BGCOLOR				"#0a2c2d"
+#define FGCOLOR				"#ddeeee"
+#define BORDERCOLOR			"#176164"
+/*
 #define BGCOLOR				"#666699"
 #define FGCOLOR				"#eeeeee"
 #define BORDERCOLOR			"#9999CC"
+*/
 #define MASTERW				52 /* percent */
 #define WM_PROTOCOL_DELWIN	1
 
diff --git a/dwm.html b/dwm.html
index 5e31a52..8f0aff6 100644
--- a/dwm.html
+++ b/dwm.html
@@ -74,9 +74,9 @@
 			wmiir and what not...
 			</li>
 			<li>
-			garbeam <b>does not</b> want any feedback to dwm. If you ask for support,
+			Anselm <b>does not</b> want any feedback to dwm. If you ask for support,
 			feature requests, or if you report bugs, they will be <b>ignored</b>
-			with a high chance. dwm is only intended to fit garbeams needs.
+			with a high chance. dwm is only intended to fit Anselms needs.
 			However you are free to download and distribute/relicense it, with the
 			conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>.
 			</li>
@@ -99,7 +99,7 @@
 		<h3>Miscellaneous</h3>
 		<p>
 		You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a>
-		if you like dwm and the dwm logo, which has been designed by garbeam.
+		if you like dwm and the dwm logo, which has been designed by Anselm.
 		</p>
 		<p><small>--Anselm (20060714)</small></p>
 	</body>
diff --git a/event.c b/event.c
index 798cb3c..9a13eee 100644
--- a/event.c
+++ b/event.c
@@ -128,7 +128,7 @@ buttonpress(XEvent *e)
 	Client *c;
 
 	if(barwin == ev->window) {
-		x = (arrange == dofloat) ? textw("~") : 0;
+		x = 0;
 		for(a.i = 0; a.i < TLast; a.i++) {
 			x += textw(tags[a.i]);
 			if(ev->x < x) {
diff --git a/main.c b/main.c
index 935d860..5cf2738 100644
--- a/main.c
+++ b/main.c
@@ -204,12 +204,12 @@ main(int argc, char *argv[])
 	XSetErrorHandler(xerrorstart);
 	/* this causes an error if some other WM is running */
 	XSelectInput(dpy, root, SubstructureRedirectMask);
-	XFlush(dpy);
+	XSync(dpy, False);
 
 	if(otherwm)
 		eprint("dwm: another window manager is already running\n");
 
-	XSetErrorHandler(0);
+	XSetErrorHandler(NULL);
 	xerrorxlib = XSetErrorHandler(xerror);
 
 	/* init atoms */
evision' href='/ingrix/lynx-snapshots/blame/src/chrtrans/README.format?id=36a66292ee2ec3530d776892d22d6c5ace810ae0'>^
d3f9d547 ^
e4409c40 ^














a2a1ab1e ^
e4409c40 ^

d3f9d547 ^



e4409c40 ^






d3f9d547 ^
e4409c40 ^
c82d2a40 ^
d3f9d547 ^
e4409c40 ^

327b7c16 ^

e4409c40 ^



b63d287c ^

e4409c40 ^



b63d287c ^
e47cfd56 ^
e4409c40 ^


d3f9d547 ^
e4409c40 ^







08fc6e5c ^
e9b52cbf ^



08fc6e5c ^
e9b52cbf ^

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