From f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 23 Jun 2009 21:52:38 +0000 Subject: tidy up startup/init routines ok oga@ --- screen.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 65b8ca3..8ac3da4 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. * - * $Id: screen.c,v 1.14 2009/01/15 00:32:35 okan Exp $ + * $Id: screen.c,v 1.15 2009/06/23 21:52:38 okan Exp $ */ #include "headers.h" @@ -24,6 +24,12 @@ extern struct screen_ctx_q Screenq; extern struct screen_ctx *Curscreen; +void +screen_init(void) +{ + TAILQ_INIT(&Screenq); +} + struct screen_ctx * screen_fromroot(Window rootwin) { -- cgit v1.2.3-2-gb3c3