projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf5a16
)
applied a modified version of Christof Musik's multihead patch (though this is not...
author
Anselm R. Garbe
<arg@suckless.org>
Thu, 18 Jan 2007 10:11:40 +0000
(11:11 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Thu, 18 Jan 2007 10:11:40 +0000
(11:11 +0100)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index 75c3fa0833bc313eff5ab9198cc9800ce6073065..c679f9c753d538953df8aaee02afe6729bada837 100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-270,8
+270,11
@@
static void
leavenotify(XEvent *e) {
XCrossingEvent *ev = &e->xcrossing;
- if((ev->window == root) && !ev->same_screen)
+ if((ev->window == root) && !ev->same_screen)
{
issel = False;
+ if(sel)
+ XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
+ }
}
static void