diff options
author | okan | 2013-05-06 16:03:11 +0000 |
---|---|---|
committer | okan | 2013-05-06 16:03:11 +0000 |
commit | 99735d22776eb0d958a17a9b07471da6dafabd42 (patch) | |
tree | d03c1ce860f72fe5050f04ce27d5af04928a32e0 /group.c | |
parent | 171d4921d9f4368b1ea53baca6f4a35444ceb784 (diff) | |
download | cwm-99735d22776eb0d958a17a9b07471da6dafabd42.tar.gz |
remove group in client_delete directly.
Diffstat (limited to '')
-rw-r--r-- | group.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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) { |