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:
ca68975
)
focus() enforces visibility of a client if not NULL
author
arg@mmvi
<unknown>
Fri, 15 Sep 2006 08:49:05 +0000
(10:49 +0200)
committer
arg@mmvi
<unknown>
Fri, 15 Sep 2006 08:49:05 +0000
(10:49 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 956b13f021c79c2ede8bba8fec983327b2034129..dce06e94a068dd03c6376f514bb6b439d6805780 100644
(file)
--- 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;