WMII Reforge  Artifact [a178e5501e]

Artifact a178e5501ee5d5bfae9599ef834f1870ee89acbe2716c3830ac0da1d4eb46ca6:

  • File lib/libstuff/x11/windows/window.c — part of check-in [15eae1e8e6] at 2019-06-20 16:42:23 on branch trunk — Import sources to have something to work with (user: KhazAkar size: 253)

/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
 * See LICENSE file for license details.
 */
#include "../x11.h"

Window*
window(XWindow xw) {
	Window *w;

	w = emallocz(sizeof *w);
	w->type = WWindow;
	w->xid = xw;
	return freelater(w);
}