summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Haller <patrick@haller.ws>2011-02-28 19:33:08 +0800
committerPatrick Haller <patrick@haller.ws>2011-02-28 19:33:08 +0800
commit4cf1b3ae5d421de123a4d02fd941126c098f5e63 (patch)
treef1fadc39c2a4f74b7ce712f99136204ad036e1f4
parenta362603e1c476035bb4f57cc1836402718af90f9 (diff)
keep PointerRoot focus'd
-rw-r--r--x-alt-tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-alt-tab.c b/x-alt-tab.c
index dc56c44..86701aa 100644
--- a/x-alt-tab.c
+++ b/x-alt-tab.c
@@ -9,7 +9,7 @@ int main(int argc, char **argv)
XCirculateSubwindowsDown(dpy, DefaultRootWindow(dpy));
else
XCirculateSubwindowsUp(dpy, DefaultRootWindow(dpy));
- XSetInputFocus(dpy, NULL, RevertToPointerRoot, CurrentTime); // nuke focus back to pointer
+ XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); // nuke focus back to pointer
XSync(dpy, True);
return 0;
}