diff --git a/dvtm.c b/dvtm.c index 71ffccb..055d982 100644 --- a/dvtm.c +++ b/dvtm.c @@ -787,7 +787,7 @@ copymode(const char *args[]) { static void focusn(const char *args[]) { for (Client *c = clients; c; c = c->next) { - if (c->order == atoi(args[0])) { + if (c->id == atoi(args[0])) { focus(c); if (c->minimized) toggleminimize(NULL);