Source

Mirror / include / monitor.h

Full commit
#ifndef MONITOR_H
#define MONITOR_H
#include <vector>

#include <xcb/xcb.h>

#include "tag.h"

class StatusBar;

class Monitor
{
    public:
        Monitor(xcb_rectangle_t area);
        ~Monitor();
        std::vector<Tag> tagList;
        int currentTag;
        xcb_rectangle_t area;
        StatusBar* statusBar;
        void nextTag();
        void prevTag();
        void layoutWindows();
        bool focusWindow(xcb_window_t window);

};

#endif //MONITOR_H