]> git.armaanb.net Git - dwm.git/blobdiff - tag.c
applied Sanders patches
[dwm.git] / tag.c
diff --git a/tag.c b/tag.c
index 13e22af0980110d93822cee21528ae7ba4281f52..c42a76063d3d25cfd3dd66abf34051a772cb83e0 100644 (file)
--- 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();
 }