about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 97dd96b..40e5b3c 100644
--- a/client.c
+++ b/client.c
@@ -208,9 +208,9 @@ manage(Window w, XWindowAttributes *wa)
 	c->bh = bh;
 
 	diff = sw - c->fw;
-	c->fx = sx + (random() % diff ? diff : 1);
+	c->fx = random() % (diff ? diff : 1);
 	diff = sh - c->fh;
-	c->fy = sy + (random() % diff ? diff : 1);
+	c->fy = random() % (diff ? diff : 1);
 
 	c->border = 1;
 	c->proto = getproto(c->win);
better the fish symbol) - also in man page' href='/acidbong/suckless/dwm/commit/config.arg.h?h=5.6.1&id=cee56d38632bbac08e7f59d58c7c7ab1370be329'>cee56d3 ^
6d5f67a ^
cdbc84b ^
b55bd70 ^
5cc27f1 ^
a3319c6 ^
0045ad8 ^
58beead ^

04a2b74 ^
1d63030 ^
58beead ^
b55bd70 ^
19390b1 ^
97ced11 ^
c2b753d ^
19390b1 ^
d2dd58e ^
a73a882 ^
b38905b ^
a73a882 ^
3059c9c ^
19dcbc5 ^
58beead ^
19dcbc5 ^
b60406c ^
9e4e4d9 ^

19dcbc5 ^




3059c9c ^

42fd392 ^
19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^
cdbc84b ^
6d5f67a ^
42fd392 ^
19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^



11a08b9 ^
e1811c3 ^



19dcbc5 ^
a73a882 ^



5a03daf ^
2d7f594 ^



a73a882 ^
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