wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

window.c (253B)


      1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include "../x11.h"
      5 
      6 Window*
      7 window(XWindow xw) {
      8 	Window *w;
      9 
     10 	w = emallocz(sizeof *w);
     11 	w->type = WWindow;
     12 	w->xid = xw;
     13 	return freelater(w);
     14 }