about summary refs log tree commit diff stats
path: root/main.c
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 /main.c
parentc09bf8da071e05e2c1d714f0d31d41fe944bc11b (diff)
downloaddwm-f60c597d653bd7eab6c620fc53d732ca75f6a880.tar.gz
changing XFlush into XSync
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
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 */
acidbong/suckless/dwm/blame/README?h=2.3&id=d7e17087ed2fc5eed57efa03e81460e3e41f7238'>^
01a8d44 ^
650a1fb ^
1076f2b
650a1fb ^
1076f2b
650a1fb ^
1076f2b

650a1fb ^
1076f2b
eff4478 ^
1076f2b
7b5638f ^

98c6a92 ^
98c6a92 ^


7b5638f ^
2b66f7a ^
98c6a92 ^
7b5638f ^
1076f2b

dc5c070 ^

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