diff client.c @ 239:e5390f8e06b9

applied sumik's multihead patch
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 11:26:32 +0200
parents 98e9901b1dbb
children bc3f69dcf719
line wrap: on
line diff
--- a/client.c	Thu Aug 10 11:19:25 2006 +0200
+++ b/client.c	Thu Aug 10 11:26:32 2006 +0200
@@ -49,6 +49,8 @@
 void
 focus(Client *c)
 {
+	if (!issel)
+		return;
 	Client *old = sel;
 	XEvent ev;