From 943a3f1272a3549265acbce2060801cb669396bc Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 8 Sep 2014 20:11:22 +0000 Subject: 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). --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 70343ef..4486be3 100644 --- a/screen.c +++ b/screen.c @@ -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 @@ -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; -- cgit v1.2.3-2-gb3c3