mirror of
https://github.com/0intro/wmii
synced 2024-11-29 17:13:11 +03:00
17 lines
294 B
C
17 lines
294 B
C
/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
#include "../x11.h"
|
|
|
|
int
|
|
unmapwin(Window *w) {
|
|
assert(w->type == WWindow);
|
|
if(w->mapped) {
|
|
XUnmapWindow(display, w->xid);
|
|
w->mapped = 0;
|
|
w->unmapped++;
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|