YggdrasilWM
0.1.1
A tiny window manager coded in C++
|
ewmh namespace This namespace contains the EWMH related functions. More...
Functions | |
void | initEwmh (Display *display, Window root) |
register the supported EWMH atoms. More... | |
void | handleMessage (XClientMessageEvent *event, Display *display, Window root) |
void | updateNumberOfDesktops (Display *display, Window root) |
void | updateDesktopGeometry (Display *display, Window root) |
void | updateActiveWindow (Display *display, Window root, Window activeWindow) |
void | updateWmProperties (Display *display, Window root) |
ewmh namespace This namespace contains the EWMH related functions.
void ewmh::handleMessage | ( | XClientMessageEvent * | event, |
Display * | display, | ||
Window | root | ||
) |
References Logger::GetInstance(), L_INFO, L_WARNING, and Logger::Log().
Referenced by EventHandler::handleClientMessage().
void ewmh::initEwmh | ( | Display * | display, |
Window | root | ||
) |
register the supported EWMH atoms.
display | must be opened before call to this function. |
root | root window the wm is managing (usually the default root window) |
References Logger::GetInstance(), L_INFO, and Logger::Log().
Referenced by WindowManager::init().
void ewmh::updateActiveWindow | ( | Display * | display, |
Window | root, | ||
Window | activeWindow | ||
) |
Referenced by EventHandler::handleFocusIn(), and EventHandler::handleFocusOut().
void ewmh::updateDesktopGeometry | ( | Display * | display, |
Window | root | ||
) |
References WindowManager::getGeometryX(), WindowManager::getGeometryY(), Logger::GetInstance(), WindowManager::getInstance(), L_INFO, and Logger::Log().
Referenced by updateWmProperties().
void ewmh::updateNumberOfDesktops | ( | Display * | display, |
Window | root | ||
) |
References WindowManager::getGroups(), and WindowManager::getInstance().
Referenced by updateWmProperties().
void ewmh::updateWmProperties | ( | Display * | display, |
Window | root | ||
) |
References updateDesktopGeometry(), and updateNumberOfDesktops().
Referenced by WindowManager::init().