about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index a5e75ca..20ab599 100644
--- a/event.c
+++ b/event.c
@@ -273,9 +273,9 @@ leavenotify(XEvent *e) {
 	XCrossingEvent *ev = &e->xcrossing;
 
 	if((ev->window == root) && !ev->same_screen) {
-		issel = False;
 		if(sel)
-			XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
+			focus(NULL);
+		issel = False;
 	}
 }
 
'n9' href='#n9'>9
10
11
12
13
14
15
16
17
18
19

               
                 





                                                                                                

               
                  
                  





                                    
[package]
name = "clinte"
version = "0.3.3"
authors = ["Ben Morrison <ben@gbmor.dev>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
chrono = "^0.4"
log = "^0.4"
rusqlite = "^0.20"
simplelog = "^0.7"
users = "^0.9"

[dependencies.clap]
version = "^2.33"
default-features = false
features = [ "suggestions", "color" ]