X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/937cabfa0aad7eef6d25e9d142a478163de200c5..7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b:/tag.c?ds=sidebyside diff --git a/tag.c b/tag.c index 13e22af..c42a760 100644 --- a/tag.c +++ b/tag.c @@ -67,6 +67,8 @@ dofloat(Arg *arg) higher(sel); focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); } drawall(); } @@ -130,6 +132,8 @@ dotile(Arg *arg) higher(sel); focus(sel); } + else + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); } drawall(); }