about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--event.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/event.c b/event.c
index 75c3fa0..c679f9c 100644
--- a/event.c
+++ b/event.c
@@ -270,8 +270,11 @@ static void
 leavenotify(XEvent *e) {
 	XCrossingEvent *ev = &e->xcrossing;
 
-	if((ev->window == root) && !ev->same_screen)
+	if((ev->window == root) && !ev->same_screen) {
 		issel = False;
+		if(sel)
+			XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
+	}
 }
 
 static void
01:17:01 -0800 committer Kartik K. Agaram <vc@akkartik.com> 2016-12-26 01:26:16 -0800 3709 - line numbers in html' href='/akkartik/mu/commit/html/screen.mu.html?h=main&id=e5c11a5137d538b7713dd8708ca767c208824c06'>e5c11a51 ^
a654e4ec ^
c5ffb6e1 ^

4a39d12d ^


4c4d325c ^
a654e4ec ^
805d58c6 ^
c762564b ^

fe8bf967 ^
805d58c6 ^

c5ffb6e1 ^

a654e4ec ^



e5c11a51 ^






















a654e4ec ^

c5ffb6e1 ^
e5c11a51 ^
a654e4ec ^
204dae92 ^



b301e0c0 ^
204dae92 ^
5fe060d5 ^
3ea092f2 ^
5fe060d5 ^




3ea092f2 ^
5fe060d5 ^












3ea092f2 ^

c5ffb6e1 ^


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