aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2009-06-23 21:52:38 +0000
committerokan2009-06-23 21:52:38 +0000
commitf211e0e6f9fb03e24ed65461fc1375f3eda6d6ba (patch)
treec3221890f6b15ca59401ade538652062208afea2 /screen.c
parentc54416ae163702858ce97808753af16c8c9b5921 (diff)
downloadcwm-f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba.tar.gz
tidy up startup/init routines
ok oga@
Diffstat (limited to '')
-rw-r--r--screen.c8
1 files changed, 7 insertions, 1 deletions
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)
{