From 9f44dc960c07054d0b9cbb4fab6e3e7c70cb1423 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 20 Oct 2013 01:35:47 +0000 Subject: revert 1.138 (WM_TAKE_FOCUS) for now --- client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 2cc7db0..e802829 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.140 2013/10/19 19:39:34 okan Exp $ + * $OpenBSD: client.c,v 1.141 2013/10/20 01:35:47 okan Exp $ */ #include @@ -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 -- cgit v1.2.3-2-gb3c3