event.c
changeset 711 b40134b93de3
parent 709 6c2fcf88dd9f
child 714 7034ee0f48d6
equal deleted inserted replaced
710:a25294eac73a 711:b40134b93de3
   268 leavenotify(XEvent *e) {
   268 leavenotify(XEvent *e) {
   269 	XCrossingEvent *ev = &e->xcrossing;
   269 	XCrossingEvent *ev = &e->xcrossing;
   270 
   270 
   271 	if((ev->window == root) && !ev->same_screen) {
   271 	if((ev->window == root) && !ev->same_screen) {
   272 		issel = False;
   272 		issel = False;
   273 		focus(sel);
   273 		focus(NULL);
   274 	}
   274 	}
   275 }
   275 }
   276 
   276 
   277 static void
   277 static void
   278 mappingnotify(XEvent *e) {
   278 mappingnotify(XEvent *e) {