[PATCH 3/3] run switch group hooks after gdelete
Ali Gholami Rudi <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
When current group is deleted, a new group is selected but switch
group hooks are not run. This patch calls set_current_group() which
runs those hooks.
---
src/group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/group.c b/src/group.c
index 00d1476..08dc8a7 100644
--- a/src/group.c
+++ b/src/group.c
@@ -551,7 +551,7 @@ group_delete_group (rp_group *g)
if (g == rp_current_group)
{
rp_group *next = group_last_group ();
- set_current_group_1 (next ? next : group_next_group ());
+ set_current_group (next ? next : group_next_group ());
}
list_del (&(g->node));
--
1.6.0.2.307.gc427.dirty