summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-10-20 01:35:48 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-10-20 01:35:48 +0000
commit0bea80278588cecf866c90055c76243d2f7c2a64 (patch)
tree0c9dcb865dd24a8e8982e5cfb137a2f22a25c0f0
parent9b19ea44b3c1c90911fda920fdb7629a4ba62ecb (diff)
revert 1.138 (WM_TAKE_FOCUS) for now
-rw-r--r--app/cwm/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 2cc7db0d6..e802829fc 100644
--- a/app/cwm/client.c
+++ b/app/cwm/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 <sys/param.h>
@@ -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