diff options
| author | Patrick Haller <patrick@haller.ws> | 2011-02-28 19:33:08 +0800 |
|---|---|---|
| committer | Patrick Haller <patrick@haller.ws> | 2011-02-28 19:33:08 +0800 |
| commit | 4cf1b3ae5d421de123a4d02fd941126c098f5e63 (patch) | |
| tree | f1fadc39c2a4f74b7ce712f99136204ad036e1f4 | |
| parent | a362603e1c476035bb4f57cc1836402718af90f9 (diff) | |
keep PointerRoot focus'd
| -rw-r--r-- | x-alt-tab.c | 2 |
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; } |
