Artifact 8d901637261b2c390ce32ff3020dc76b5429f36a0c4d783ddf6f53faff9ec146:
- File lib/libstuff/x11/windows/mapwin.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: 274)
/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail> * See LICENSE file for license details. */ #include "../x11.h" int mapwin(Window *w) { assert(w->type == WWindow); if(!w->mapped) { XMapWindow(display, w->xid); w->mapped = 1; return 1; } return 0; }