Mercurial > aewl
comparison event.c @ 711:b40134b93de3
I think this is the best solution of multihead support
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Tue, 23 Jan 2007 11:49:16 +0100 |
parents | 6c2fcf88dd9f |
children | 7034ee0f48d6 |
comparison
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) { |