diff options
author | okan <okan> | 2014-09-08 20:11:22 +0000 |
---|---|---|
committer | okan <okan> | 2014-09-08 20:11:22 +0000 |
commit | 26ba1526929931660ac22757ac752f15d5b64fb2 (patch) | |
tree | 266554c068c841d567db0a0bbf67eda539ad606f /kbfunc.c | |
parent | a7f3f29ea91dc06ad326d22a161f046aab03697e (diff) | |
download | cwm-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 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c index 81133b2..8c7d85a 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -151,7 +151,7 @@ kbfunc_client_search(struct client_ctx *cc, union arg *arg) old_cc = client_current(); TAILQ_INIT(&menuq); - TAILQ_FOREACH(cc, &Clientq, entry) + TAILQ_FOREACH(cc, &sc->clientq, entry) menuq_add(&menuq, cc, "%s", cc->name); if ((mi = menu_filter(sc, &menuq, "window", NULL, 0, |