summaryrefslogtreecommitdiff
path: root/bar.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-08-28 20:59:17 +0000
committersabetts <sabetts>2000-08-28 20:59:17 +0000
commitd50d5f9ecb4f0edf8d92b6b6150a9d5dd58d3ac8 (patch)
tree72a3afcdfb3cf9ddbefca74c65b13dcb04474458 /bar.c
parent2856fb2f726590346bc397485757baa528589e97 (diff)
downloadratpoison-d50d5f9ecb4f0edf8d92b6b6150a9d5dd58d3ac8.zip
drawing the windows from tail to head wasn't working. the numbers are still in the wrong order...
Diffstat (limited to 'bar.c')
-rw-r--r--bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar.c b/bar.c
index e7107d8..d6e6908 100644
--- a/bar.c
+++ b/bar.c
@@ -120,7 +120,7 @@ update_window_names (screen_info *s)
/* Draw them in reverse order they were added in, so the oldest
windows appear on the left and the newest on the right end of the
program bar. */
- for (cur = rp_window_tail; cur; cur = cur->prev)
+ for (cur = rp_window_head; cur; cur = cur->next)
{
if (cur->state == STATE_UNMAPPED) continue;