diff options
| author | Patrick Haller <patrick@haller.ws> | 2011-02-26 17:57:19 +0800 |
|---|---|---|
| committer | Patrick Haller <patrick@haller.ws> | 2011-02-26 17:57:19 +0800 |
| commit | a362603e1c476035bb4f57cc1836402718af90f9 (patch) | |
| tree | a357a7541cde719cb832908b55c3f2d75c4c0e34 /x-alt-tab.c | |
| parent | 7a9cfe049f8bfa7427f39b0326d1cadb234e9f9e (diff) | |
trivial change
Diffstat (limited to 'x-alt-tab.c')
| -rw-r--r-- | x-alt-tab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x-alt-tab.c b/x-alt-tab.c index e8d4355..dc56c44 100644 --- a/x-alt-tab.c +++ b/x-alt-tab.c @@ -9,6 +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 XSync(dpy, True); return 0; } |
