about summary refs log tree commit diff stats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:51:44 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:51:44 +0200
commite6cbe9c11e88537d74eb094ba5844f71ee57f268 (patch)
tree7442199183f1d55086195a3076ff000c59e13a4d /draw.c
parentf60c597d653bd7eab6c620fc53d732ca75f6a880 (diff)
downloaddwm-e6cbe9c11e88537d74eb094ba5844f71ee57f268.tar.gz
fixed XSync handling and finished man page
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/draw.c b/draw.c
index 1c6613f..ec0e964 100644
--- a/draw.c
+++ b/draw.c
@@ -131,7 +131,7 @@ drawstatus()
 	drawtext(stext, !istile, False);
 
 	XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
-	XFlush(dpy);
+	XSync(dpy, False);
 }
 
 void
@@ -163,9 +163,8 @@ drawtitle(Client *c)
 	dc.x += dc.w;
 	dc.w = textw(c->name);
 	drawtext(c->name, !istile, True);
-	XCopyArea(dpy, dc.drawable, c->title, dc.gc,
-			0, 0, c->tw, c->th, 0, 0);
-	XFlush(dpy);
+	XCopyArea(dpy, dc.drawable, c->title, dc.gc, 0, 0, c->tw, c->th, 0, 0);
+	XSync(dpy, False);
 }
 
 unsigned long
abit.com> 2009-12-11 17:13:59 +0100 restructurations' href='/akspecs/ranger/commit/ranger.py?h=v1.5.0&id=3de15ddd7fb0151e5f43f0b8e7d06bd76568e235'>3de15ddd ^
3d566884 ^
a1d7ed6e ^
3d566884 ^
f8e96a97 ^
465bff73 ^





f027adc0 ^
f8e96a97 ^

0b5c4cbe ^
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