summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index a257cb24..833c3218 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -155,7 +155,7 @@ public:
inline const otk::OBProperty *property() const { return _property; }
//! Returns a managed screen
- inline const OBScreen *screen(int num) const {
+ inline OBScreen *screen(int num) {
assert(num >= 0); assert(num < (signed)_screens.size());
return _screens[num];
}