diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-01-19 15:01:51 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-19 15:01:51 +0100 |
| commit | 1e051d71f509ce0c658170e936896b58b9065f90 (patch) | |
| tree | 2ccc42d4c1dd775b33e5a8a2a26a71756a90604f /event.c | |
| parent | replaced XSetBorder.../focus() (diff) | |
| download | dwm-1e051d71f509ce0c658170e936896b58b9065f90.tar.gz dwm-1e051d71f509ce0c658170e936896b58b9065f90.zip | |
deciding for focus(NULL);
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -273,9 +273,9 @@ leavenotify(XEvent *e) { | |||
| 273 | XCrossingEvent *ev = &e->xcrossing; | 273 | XCrossingEvent *ev = &e->xcrossing; |
| 274 | 274 | ||
| 275 | if((ev->window == root) && !ev->same_screen) { | 275 | if((ev->window == root) && !ev->same_screen) { |
| 276 | issel = False; | ||
| 277 | if(sel) | 276 | if(sel) |
| 278 | XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); | 277 | focus(NULL); |
| 278 | issel = False; | ||
| 279 | } | 279 | } |
| 280 | } | 280 | } |
| 281 | 281 | ||
