diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-01-23 12:29:17 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-23 12:29:17 +0100 |
| commit | 71b84c21149adb7adff6140a1f471c4a294edd4b (patch) | |
| tree | 05ebdbb11aedafabec4e632b3962522658ffb570 /event.c | |
| parent | removed a blank line (diff) | |
| download | dwm-71b84c21149adb7adff6140a1f471c4a294edd4b.tar.gz dwm-71b84c21149adb7adff6140a1f471c4a294edd4b.zip | |
small changes
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -230,7 +230,7 @@ enternotify(XEvent *e) { | |||
| 230 | if((c = getclient(ev->window)) && isvisible(c)) | 230 | if((c = getclient(ev->window)) && isvisible(c)) |
| 231 | focus(c); | 231 | focus(c); |
| 232 | else if(ev->window == root) { | 232 | else if(ev->window == root) { |
| 233 | issel = True; | 233 | activescreen = True; |
| 234 | for(c = stack; c && !isvisible(c); c = c->snext); | 234 | for(c = stack; c && !isvisible(c); c = c->snext); |
| 235 | focus(c); | 235 | focus(c); |
| 236 | } | 236 | } |
| @@ -269,7 +269,7 @@ 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 | activescreen = False; |
| 273 | focus(NULL); | 273 | focus(NULL); |
| 274 | } | 274 | } |
| 275 | } | 275 | } |
