diff options
author | Jakob Kaivo <jkk@ung.org> | 2021-05-14 20:41:23 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2021-05-14 20:41:23 -0400 |
commit | 2a88be277f569ef6bcd3333f15a25aaf705099df (patch) | |
tree | 9312eabf4de3af358a0d8bd3cbe9e12884dcec97 | |
parent | 2bd0c9d971826d7b8247f4c3970a18429dfdd758 (diff) |
warp pointer properly if previous focus was rootxnext
-rw-r--r-- | xnext.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ int main(int argc, char *argv[]) qsort(list, nwin, sizeof(*list), compar); if (focused == PointerRoot || focused == None) { - return switch_to(dpy, focused, list[previous ? nwin - 1 : 0]); + return switch_to(dpy, root, list[previous ? nwin - 1 : 0]); } for (size_t i = 0; i < nwin; i++) { |