about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-10-26 15:05:45 +0200
committerarg@mig29 <unknown>2006-10-26 15:05:45 +0200
commit040d0f48a0b41d67004b4a0698fe21a86ebaa490 (patch)
tree49c64b85c784a78d295e6273a6083084b870273d /client.c
parent724f35a66404efdcf6f684c8616c444c5a5801cd (diff)
downloaddwm-040d0f48a0b41d67004b4a0698fe21a86ebaa490.tar.gz
apply small fix to prevent apps like mplayer wandering when toggling fullscreen
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 c65a42b..49d40d5 100644
--- a/client.c
+++ b/client.c
@@ -202,8 +202,8 @@ manage(Window w, XWindowAttributes *wa) {
 	c = emallocz(sizeof(Client));
 	c->tags = emallocz(ntags * sizeof(Bool));
 	c->win = w;
-	c->x = c->tx = wa->x;
-	c->y = c->ty = wa->y;
+	c->x = c->tx = wa->x; c->x -= BORDERPX;
+	c->y = c->ty = wa->y; c->y -= BORDERPX;
 	c->w = c->tw = wa->width;
 	c->h = wa->height;
 	c->th = bh;
the previous revision' href='/akkartik/mu/blame/channel.mu?h=main&id=2e3b597fe85b654e82b891c22d50754fa5a26156'>^
ce87c19e ^

b96af395 ^
f192d655 ^
b96af395 ^
f192d655 ^
b96af395 ^

77d5b5d6 ^
b96af395 ^


ce87c19e ^
b96af395 ^
5497090a ^
b96af395 ^

f192d655 ^
b96af395 ^
f192d655 ^
b96af395 ^
77d5b5d6 ^
bc643692 ^
b96af395 ^
ce87c19e ^



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