event.c
changeset 161 f381e34158d9
parent 160 c8db0a825775
child 163 e2e1de08341d
equal deleted inserted replaced
160:c8db0a825775 161:f381e34158d9
   200 	XCrossingEvent *ev = &e->xcrossing;
   200 	XCrossingEvent *ev = &e->xcrossing;
   201 
   201 
   202 	if(ev->detail == NotifyInferior)
   202 	if(ev->detail == NotifyInferior)
   203 		return;
   203 		return;
   204 
   204 
   205 	if((c = getclient(ev->window)))
   205 	if((c = getclient(ev->window)) || (c = getctitle(ev->window)))
   206 		focus(c);
   206 		focus(c);
   207 	else if(ev->window == root)
   207 	else if(ev->window == root)
   208 		issel = True;
   208 		issel = True;
   209 }
   209 }
   210 
   210