diff options
-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++) { |