aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2014-09-08 20:11:22 +0000
committerokan2014-09-08 20:11:22 +0000
commit943a3f1272a3549265acbce2060801cb669396bc (patch)
tree3aed9fd559210c85c755f7fee645ebaae5b54cdd /screen.c
parent25980c356984d6152dc3703f57d4680bb21c1f04 (diff)
downloadcwm-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.c4
1 files changed, 2 insertions, 2 deletions
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 <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;