/* * (C)opyright MMIV-MMVI Anselm R. Garbe * See LICENSE file for license details. */ #include #include #include "blitz.h" /* blitz.c */ Blitz * init_blitz(Display *dpy) { Blitz *b = cext_emallocz(sizeof(Blitz)); b->display = dpy; b->screen = DefaultScreen(dpy); b->root = DefaultRootWindow(dpy); return b; } void deinit_blitz(Blitz *blitz) { free(blitz); }