commit 023d66bbb1a8c7668d6e7294676f5b3be2b48bc4 parent 0f51175c981a78073540bfc3479950f87c41c589 Author: Kebigon <git@kebigon.xyz> Date: Thu, 23 Jul 2020 18:43:43 +0900 Avoid infinite loop Diffstat:
| M | kbgwm.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kbgwm.c b/kbgwm.c @@ -364,7 +364,7 @@ client* client_find_workspace(xcb_window_t id, uint_fast8_t workspace) { if (client->id == id) return client; - } while ((client = client->next) != workspaces[current_workspace]); + } while ((client = client->next) != workspaces[workspace]); return NULL; }