summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorAli Gholami Rudi <aliqrudi@gmail.com>2008-10-11 09:39:18 +0330
committerShawn <sabetts@juicebox.(none)>2008-10-12 17:11:55 -0700
commit4a180cb969833289eb2dd46548d594f6f37c8a87 (patch)
tree814a35bb6c9e8b8444e641328840e160f664d5c0 /src/globals.h
parent098fc67c1a277286fc513ccb646e4054889063ab (diff)
downloadratpoison-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.h1
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;