diff options
| author | arg@mmvi <unknown> | 2006-09-15 10:49:05 +0200 |
|---|---|---|
| committer | arg@mmvi <unknown> | 2006-09-15 10:49:05 +0200 |
| commit | 8e37c78ce3c33842a5800a445f90a3079a377eb6 (patch) | |
| tree | c9dd6584462195c52db19611ec3b9785caf3e73f /client.c | |
| parent | removed useless inclusion (diff) | |
| download | dwm-8e37c78ce3c33842a5800a445f90a3079a377eb6.tar.gz dwm-8e37c78ce3c33842a5800a445f90a3079a377eb6.zip | |
focus() enforces visibility of a client if not NULL
Diffstat (limited to '')
| -rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -84,7 +84,7 @@ void | |||
| 84 | focus(Client *c) { | 84 | focus(Client *c) { |
| 85 | Client *old; | 85 | Client *old; |
| 86 | 86 | ||
| 87 | if(!issel) | 87 | if(!issel || (c && !isvisible(c))) |
| 88 | return; | 88 | return; |
| 89 | if(!sel) | 89 | if(!sel) |
| 90 | sel = c; | 90 | sel = c; |
