diff options
author | okan | 2014-09-08 20:11:22 +0000 |
---|---|---|
committer | okan | 2014-09-08 20:11:22 +0000 |
commit | 943a3f1272a3549265acbce2060801cb669396bc (patch) | |
tree | 3aed9fd559210c85c755f7fee645ebaae5b54cdd /screen.c | |
parent | 25980c356984d6152dc3703f57d4680bb21c1f04 (diff) | |
download | cwm-943a3f1272a3549265acbce2060801cb669396bc.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.66 2014/09/07 19:27:30 okan Exp $ + * $OpenBSD: screen.c,v 1.67 2014/09/08 20:11:22 okan Exp $ */ #include <sys/param.h> @@ -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; |