summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-10 11:26:32 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-10 11:26:32 +0200
commitfde45ebed844c227a17c21d161f60aa55c8b3c41 (patch)
treef6b04697f927569556e82d2c511525bd166db7f1 /client.c
parent4bd0d33f57c6fb764ef546a9b0ebfcd20ff1df70 (diff)
applied sumik's multihead patch
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index f2686236..773b8f82 100644
--- a/client.c
+++ b/client.c
@@ -49,6 +49,8 @@ ban(Client *c)
void
focus(Client *c)
{
+ if (!issel)
+ return;
Client *old = sel;
XEvent ev;