index
:
dwm
master
dynamic window manager
System administrator
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
client.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 956b13f..dce06e9 100644
--- a/
client.c
+++ b/
client.c
@@ -84,7 +84,7 @@ void
focus(Client *c) {
Client *old;
- if(!issel)
+ if(!issel || (c && !isvisible(c)))
return;
if(!sel)
sel = c;