diff options
author | okan | 2009-06-23 21:52:38 +0000 |
---|---|---|
committer | okan | 2009-06-23 21:52:38 +0000 |
commit | f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba (patch) | |
tree | c3221890f6b15ca59401ade538652062208afea2 /screen.c | |
parent | c54416ae163702858ce97808753af16c8c9b5921 (diff) | |
download | cwm-f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba.tar.gz |
tidy up startup/init routines
ok oga@
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 8 |
1 files changed, 7 insertions, 1 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. * - * $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) { |