summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2009-01-16 15:24:14 +0000
committerokan <okan>2009-01-16 15:24:14 +0000
commitec8e6052ba902d2b6afced31008aad015d38f062 (patch)
tree68c77d7e466ced3867647a355e86bb4dc28a0a67 /group.c
parent5c757cc7f420f58112d3e2af7a6f124994bcbe23 (diff)
downloadcwm-ec8e6052ba902d2b6afced31008aad015d38f062.tar.gz
cwm-ec8e6052ba902d2b6afced31008aad015d38f062.tar.xz
cwm-ec8e6052ba902d2b6afced31008aad015d38f062.zip
remove pwin, bringing us to one client, one window. we no longer have
to push attributes around, so things get a lot simplier, while fixing a
few issues in the meantime; original suggestion by Edd Barrett many many
moons ago.

annoying window placement and race, found in c2k8 by todd, fix by oga!

lots of feedback from todd and oga - thanks!

"commit that bad boy" oga@
Diffstat (limited to 'group.c')
-rw-r--r--group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c
index 0a0c2bc..e1dd03e 100644
--- a/group.c
+++ b/group.c
@@ -99,7 +99,7 @@ _group_show(struct group_ctx *gc)
 	 * top-to-bottom.
 	 */
 	TAILQ_FOREACH(cc, &gc->clients, group_entry) {
-		winlist[gc->highstack - cc->stackingorder] = cc->pwin;
+		winlist[gc->highstack - cc->stackingorder] = cc->win;
 		client_unhide(cc);
 	}