summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-10-10 14:23:17 -0700
committerShawn <sabetts@juicebox>2008-10-10 14:23:17 -0700
commit1d291ecaf30bfa551086aabe02d065f07f00eff3 (patch)
tree5e45e992e337647cc46c2b5a7ec15895660e7c78 /src/actions.c
parentb57b21ee318287d035269cb526444a756a93cae9 (diff)
downloadratpoison-1d291ecaf30bfa551086aabe02d065f07f00eff3.zip
mark the last group in cmd_groups
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 5d7b335..c7534bc 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -4868,7 +4868,9 @@ cmd_groups (int interactive, struct cmdarg **args)
rp_group *cur;
int mark_start = 0, mark_end = 0;
struct sbuf *buffer;
+ rp_group *last;
+ last = group_last_group ();
buffer = sbuf_new (0);
/* Generate the string. */
@@ -4887,6 +4889,8 @@ cmd_groups (int interactive, struct cmdarg **args)
if(cur == rp_current_group)
separator = '*';
+ else if(cur == last)
+ separator = '+';
else
separator = '-';