JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Sanders patches
[dwm.git] / tag.c
diff --git a/tag.c b/tag.c
index 13e22af..c42a760 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();
 }