X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.hh;h=833c321874117d91a993a1db109e5e9ab68d6817;hb=06a80ce2c7a189e26063d5e4e475ca500778aba5;hp=a257cb243cb49dd52e2e75a98f30dafe1a2f4fbb;hpb=cee305244662d352a7ad5ab7ae22f6221c064d3d;p=chaz%2Fopenbox 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]; }