diff options
author | Ali Gholami Rudi <aliqrudi@gmail.com> | 2008-10-11 09:39:18 +0330 |
---|---|---|
committer | Shawn <sabetts@juicebox.(none)> | 2008-10-12 17:11:55 -0700 |
commit | 4a180cb969833289eb2dd46548d594f6f37c8a87 (patch) | |
tree | 814a35bb6c9e8b8444e641328840e160f664d5c0 /src/globals.h | |
parent | 098fc67c1a277286fc513ccb646e4054889063ab (diff) | |
download | ratpoison-4a180cb969833289eb2dd46548d594f6f37c8a87.zip |
don't delete the last group
Currently gdelete deletes the last group and creates a new empty
group. This patch changes gdelete to show a message, instead.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index b7aaa00..c56bbca 100644 --- a/src/globals.h +++ b/src/globals.h @@ -64,6 +64,7 @@ /* Error codes for group_delete_group() */ #define GROUP_DELETE_GROUP_OK 0 #define GROUP_DELETE_GROUP_NONEMPTY 1 +#define GROUP_DELETE_LAST_GROUP 2 /* The list of groups. */ extern struct list_head rp_groups; |