1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __screeninfo_hh
3 #define __screeninfo_hh
25 std::string _display_string;
27 std::vector<Rect> _xinerama_areas;
28 bool _xinerama_active;
33 inline Visual *visual() const { return _visual; }
34 inline Window rootWindow() const { return _root_window; }
35 inline Colormap colormap() const { return _colormap; }
36 inline int depth() const { return _depth; }
37 inline int screen() const { return _screen; }
38 inline const Size& size() const { return _size; }
39 inline const std::string& displayString() const { return _display_string; }
40 inline const std::vector<Rect> &xineramaAreas() const
41 { return _xinerama_areas; }
42 inline bool isXineramaActive() const { return _xinerama_active; }
47 #endif // __screeninfo_hh