Mercurial > aewl
comparison event.c @ 701:fc5b982778df
applied a modified version of Christof Musik's multihead patch (though this is not sure if it works in all cases, have to wait for an ACK by Christof)
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Thu, 18 Jan 2007 11:11:40 +0100 |
parents | 8d3720e06c89 |
children | 6110b9efc299 |
comparison
equal
deleted
inserted
replaced
700:f05c825db96b | 701:fc5b982778df |
---|---|
268 | 268 |
269 static void | 269 static void |
270 leavenotify(XEvent *e) { | 270 leavenotify(XEvent *e) { |
271 XCrossingEvent *ev = &e->xcrossing; | 271 XCrossingEvent *ev = &e->xcrossing; |
272 | 272 |
273 if((ev->window == root) && !ev->same_screen) | 273 if((ev->window == root) && !ev->same_screen) { |
274 issel = False; | 274 issel = False; |
275 if(sel) | |
276 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); | |
277 } | |
275 } | 278 } |
276 | 279 |
277 static void | 280 static void |
278 mappingnotify(XEvent *e) { | 281 mappingnotify(XEvent *e) { |
279 XMappingEvent *ev = &e->xmapping; | 282 XMappingEvent *ev = &e->xmapping; |