summaryrefslogtreecommitdiff
path: root/otk/screeninfo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/screeninfo.hh')
-rw-r--r--otk/screeninfo.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/screeninfo.hh b/otk/screeninfo.hh
index 440573aa..584d92ec 100644
--- a/otk/screeninfo.hh
+++ b/otk/screeninfo.hh
@@ -21,7 +21,7 @@ private:
Colormap _colormap;
int _depth;
- unsigned int _screen;
+ int _screen;
std::string _display_string;
Size _size;
#ifdef XINERAMA
@@ -30,13 +30,13 @@ private:
#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