X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fscreeninfo.hh;h=17063e37cd29186c02a9a16bf31480181d795d83;hb=1e47e17d08d72d181edc2bde598ad246055655ad;hp=440573aa80058325df8c5afe18a64742769f6ff0;hpb=99cd843fc6dc7a7f55b6c90fd1162f233853aad2;p=chaz%2Fopenbox diff --git a/otk/screeninfo.hh b/otk/screeninfo.hh index 440573aa..17063e37 100644 --- a/otk/screeninfo.hh +++ b/otk/screeninfo.hh @@ -21,29 +21,25 @@ private: Colormap _colormap; int _depth; - unsigned int _screen; + int _screen; std::string _display_string; Size _size; -#ifdef XINERAMA std::vector _xinerama_areas; bool _xinerama_active; -#endif public: - ScreenInfo(unsigned int num); + ScreenInfo(int num); inline Visual *visual() const { return _visual; } inline Window rootWindow() const { return _root_window; } inline Colormap colormap() const { return _colormap; } inline int depth() const { return _depth; } - inline unsigned int screen() const { return _screen; } + 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 }; }