Как следующий код удаляет границы окна?
//note the struct is declared elsewhere, is here just for clarity.
//code is from [http://tonyobryan.com/index.php?article=9][1]
typedef struct Hints
{
unsigned long flags;
unsigned long functions;
unsigned long decorations;
long inputMode;
unsigned long status;
} Hints;
//code to remove decoration
Hints hints;
Atom property;
hints.flags = 2;
hints.decorations = 0;
property = XInternAtom(display, "_MOTIF_WM_HINTS", true);
XChangeProperty(display,window,property,property,32,PropModeReplace,(unsigned char *)&hints,5);
XMapWindow(display, window);
На данный момент я понял, что Atom - это своего рода идентификатор, похожий на Window и Display, но я не могу понять, где находится структура Hints или "_MOTIF_WM_HINTS" пришло из. Может ли кто-нибудь объяснить мне весь этот код? Заранее спасибо, эл.