#include #include #include "../windowManager.hpp" namespace Events { EVENT(Enter); EVENT(Leave); EVENT(Destroy); EVENT(MapWindow); EVENT(UnmapWindow); EVENT(ButtonPress); EVENT(ButtonRelease); EVENT(Expose); EVENT(KeyPress); EVENT(MotionNotify); EVENT(ClientMessage); EVENT(RandRScreenChange); // Bypass some events for floating windows CWindow* remapWindow(int, bool floating = false, int forcemonitor = -1); CWindow* remapFloatingWindow(int, int forcemonitor = -1); // A thread to notify xcb to redraw our shiz void redraw(); void setThread(); inline timer_t timerid; // For docks etc inline bool nextWindowCentered = false; };