summaryrefslogtreecommitdiff
path: root/otk/screeninfo.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-17 21:47:09 +0000
committerDana Jansens <danakj@orodu.net>2003-02-17 21:47:09 +0000
commit971e227b149f56b1b595193132b184d688634a99 (patch)
treea42b09d30a63b73cfbb394fe1ee9f474222e64af /otk/screeninfo.hh
parent3f80d431adf207fa28e709cfe271d9834e2262ab (diff)
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always
Diffstat (limited to 'otk/screeninfo.hh')
-rw-r--r--otk/screeninfo.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/otk/screeninfo.hh b/otk/screeninfo.hh
index 584d92ec..17063e37 100644
--- a/otk/screeninfo.hh
+++ b/otk/screeninfo.hh
@@ -24,10 +24,8 @@ private:
int _screen;
std::string _display_string;
Size _size;
-#ifdef XINERAMA
std::vector<Rect> _xinerama_areas;
bool _xinerama_active;
-#endif
public:
ScreenInfo(int num);
@@ -39,11 +37,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<Rect> &xineramaAreas() const
{ return _xinerama_areas; }
inline bool isXineramaActive() const { return _xinerama_active; }
-#endif
};
}