X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fscreeninfo.hh;h=93e835facb1cb601bccf728a1fbfb890f7466056;hb=0c2f95674f56e25e2b74cce506d9d89ec41252a4;hp=584d92ece76313893a0bc9e2011fa64971c52429;hpb=74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690;p=chaz%2Fopenbox diff --git a/otk/screeninfo.hh b/otk/screeninfo.hh index 584d92ec..93e835fa 100644 --- a/otk/screeninfo.hh +++ b/otk/screeninfo.hh @@ -16,18 +16,11 @@ namespace otk { class ScreenInfo { private: - Visual *_visual; - Window _root_window; - Colormap _colormap; - - int _depth; int _screen; std::string _display_string; Size _size; -#ifdef XINERAMA std::vector _xinerama_areas; bool _xinerama_active; -#endif public: ScreenInfo(int num); @@ -39,11 +32,9 @@ public: inline int screen() const { return _screen; } inline const Size& size() const { return _size; } inline const std::string& displayString() const { return _display_string; } -#ifdef XINERAMA inline const std::vector &xineramaAreas() const { return _xinerama_areas; } inline bool isXineramaActive() const { return _xinerama_active; } -#endif }; }