#ifndef _ATOMS_H #define _ATOMS_H #include /* EWMH atoms */ enum { NetSupported, NetWMName, NetWMState, NetWMCheck, NetSystemTray, NetSystemTrayOP, NetSystemTrayOrientation, NetSystemTrayOrientationHorz, NetWMFullscreen, NetActiveWindow, NetWMWindowType, NetWMWindowTypeDialog, NetClientList, NetStatusUpdate, NetLast, }; /* Xembed atoms */ enum { Manager, Xembed, XembedInfo, XLast }; /* default atoms */ enum { WMProtocols, WMDelete, WMState, WMTakeFocus, WMLast }; typedef struct Atoms { Atom wmatom[WMLast], netatom[NetLast], xatom[XLast]; } *Atoms; Atoms atoms_create(Display *dpy); void atoms_destroy(Atoms atoms); #endif // _ATOMS_H