diff options
| author | Ivan Vetrov <vetrov.iv5@gmail.com> | 2025-11-05 08:28:42 +0300 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-11-11 20:15:41 +0100 |
| commit | e65146d2918e0072fc09b3dfb06785e170787164 (patch) | |
| tree | a1fa52694e5171c4cfa36f7b7065ca88cfa1e127 | |
| parent | d6e4aafdf7da4e1a4cf15510b7d94bb8e8553c6a (diff) | |
| download | test-e65146d2918e0072fc09b3dfb06785e170787164.tar.gz test-e65146d2918e0072fc09b3dfb06785e170787164.tar.bz2 test-e65146d2918e0072fc09b3dfb06785e170787164.tar.xz test-e65146d2918e0072fc09b3dfb06785e170787164.zip | |
cleanup(): fix for loop bounds
| -rw-r--r-- | tabbed.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ cleanup(void) { int i; - for (i = 0; i < nclients; i++) { + for (i = nclients - 1; i >= 0; i--) { focus(i); killclient(NULL); XReparentWindow(dpy, clients[i]->win, root, 0, 0); |
