summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-08 20:11:22 +0000
committerokan <okan>2014-09-08 20:11:22 +0000
commit26ba1526929931660ac22757ac752f15d5b64fb2 (patch)
tree266554c068c841d567db0a0bbf67eda539ad606f /screen.c
parenta7f3f29ea91dc06ad326d22a161f046aab03697e (diff)
downloadcwm-26ba1526929931660ac22757ac752f15d5b64fb2.tar.gz
cwm-26ba1526929931660ac22757ac752f15d5b64fb2.tar.xz
cwm-26ba1526929931660ac22757ac752f15d5b64fb2.zip
Remove duplicate client queue (mruq); instead, remove and take the
global Clientq and place it inside screen_ctx since every client belongs
to a screen, then use the same per screen clientq to track stacking
order (the sole reason for mruq).
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 1706f5b..3c7c41b 100644
--- a/screen.c
+++ b/screen.c
@@ -40,7 +40,7 @@ screen_init(int which)
 
 	sc = xcalloc(1, sizeof(*sc));
 
-	TAILQ_INIT(&sc->mruq);
+	TAILQ_INIT(&sc->clientq);
 	TAILQ_INIT(&sc->regionq);
 
 	sc->which = which;