summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-08-02 19:38:15 +0000
committersabetts <sabetts>2003-08-02 19:38:15 +0000
commit2d98b0af0f53370b0098edc89bd75351a59ebc91 (patch)
tree0c4e5be4076438a0b92721f1a958fc6de11a89f2 /src/actions.c
parent51a6fa330346c5c70b967380c137e73f27e29dfc (diff)
downloadratpoison-2d98b0af0f53370b0098edc89bd75351a59ebc91.zip
(cmd_number): rename the window's group number
instead of it's internal number.
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index 34acf40..3812218 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1315,11 +1315,11 @@ cmd_number (int interactive, char *data)
}
else
{
- numset_release (rp_window_numset, win->number);
+ numset_release (rp_current_group->numset, win->number);
}
win->number = new_number;
- numset_add_num (rp_window_numset, new_number);
+ numset_add_num (rp_current_group->numset, new_number);
/* resort the the window in the list */
group_resort_window (rp_current_group, win);