Mercurial > dwm-meillo
comparison event.c @ 704:6110b9efc299
yet another multihead fix by Christof Musik
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Fri, 19 Jan 2007 14:36:25 +0100 |
parents | fc5b982778df |
children | 1e571a8c7552 |
comparison
equal
deleted
inserted
replaced
703:e5371d1c830a | 704:6110b9efc299 |
---|---|
233 if((c = getclient(ev->window)) && isvisible(c)) | 233 if((c = getclient(ev->window)) && isvisible(c)) |
234 focus(c); | 234 focus(c); |
235 else if(ev->window == root) { | 235 else if(ev->window == root) { |
236 issel = True; | 236 issel = True; |
237 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | 237 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); |
238 if(sel) | |
239 XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]); | |
238 } | 240 } |
239 } | 241 } |
240 | 242 |
241 static void | 243 static void |
242 expose(XEvent *e) { | 244 expose(XEvent *e) { |