about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/client.c b/client.c
index cd0732f..1c41d7e 100644
--- a/client.c
+++ b/client.c
@@ -208,8 +208,6 @@ client_setactive(struct client_ctx *cc, int fg)
 		XInstallColormap(X_Dpy, cc->colormap);
 		XSetInputFocus(X_Dpy, cc->win,
 		    RevertToPointerRoot, CurrentTime);
-		if (cc->xproto & _WM_TAKE_FOCUS)
-			client_msg(cc, cwmh[WM_TAKE_FOCUS]);
 		conf_grab_mouse(cc->win);
 		/*
 		 * If we're in the middle of alt-tabbing, don't change