aboutsummaryrefslogtreecommitdiffstats
path: root/group.c
diff options
context:
space:
mode:
authorokan2013-05-06 16:03:11 +0000
committerokan2013-05-06 16:03:11 +0000
commit99735d22776eb0d958a17a9b07471da6dafabd42 (patch)
treed03c1ce860f72fe5050f04ce27d5af04928a32e0 /group.c
parent171d4921d9f4368b1ea53baca6f4a35444ceb784 (diff)
downloadcwm-99735d22776eb0d958a17a9b07471da6dafabd42.tar.gz
remove group in client_delete directly.
Diffstat (limited to '')
-rw-r--r--group.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/group.c b/group.c
index 90409ef..bf8f694 100644
--- a/group.c
+++ b/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.75 2013/04/30 21:10:23 okan Exp $
+ * $OpenBSD: group.c,v 1.76 2013/05/06 16:03:11 okan Exp $
*/
#include <sys/param.h>
@@ -308,17 +308,6 @@ group_cycle(struct screen_ctx *sc, int flags)
group_setactive(sc, showgroup->shortcut);
}
-/* called when a client is deleted */
-void
-group_client_delete(struct client_ctx *cc)
-{
- if (cc->group == NULL)
- return;
-
- TAILQ_REMOVE(&cc->group->clients, cc, group_entry);
- cc->group = NULL; /* he he */
-}
-
void
group_menu(XButtonEvent *e)
{