YggdrasilWM  0.1.1
A tiny window manager coded in C++
Ewmh.hpp
Go to the documentation of this file.
1 
28 #ifndef WINDOW_MANAGER_EWMH_HPP
29 #define WINDOW_MANAGER_EWMH_HPP
30 extern "C" {
31 #include <X11/Xlib.h>
32 #include <X11/Xatom.h>
33 };
34 #include <string>
40 namespace ewmh {
48  void initEwmh(Display *display, Window root);
49  void handleMessage(XClientMessageEvent *event, Display *display, Window root);
50  void updateNumberOfDesktops(Display *display, Window root);
51  void updateWmProperties(Display *display, Window root);
52  void updateDesktopGeometry(Display *display, Window root);
53  void updateActiveWindow(Display *display, Window root, Window activeWindow);
54 };
55 
56 #endif //WINDOW_MANAGER_EWMH_HPP
ewmh namespace This namespace contains the EWMH related functions.
Definition: Ewmh.cpp:33
void updateWmProperties(Display *display, Window root)
Definition: Ewmh.cpp:124
void initEwmh(Display *display, Window root)
register the supported EWMH atoms.
Definition: Ewmh.cpp:34
void updateDesktopGeometry(Display *display, Window root)
Definition: Ewmh.cpp:99
void updateNumberOfDesktops(Display *display, Window root)
Definition: Ewmh.cpp:92
void handleMessage(XClientMessageEvent *event, Display *display, Window root)
Definition: Ewmh.cpp:60
void updateActiveWindow(Display *display, Window root, Window activeWindow)
Definition: Ewmh.cpp:113