summaryrefslogtreecommitdiff
path: root/src/Workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.h')
-rw-r--r--src/Workspace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.h b/src/Workspace.h
index 441a8733..d42f30ee 100644
--- a/src/Workspace.h
+++ b/src/Workspace.h
@@ -35,7 +35,7 @@ class OpenboxWindow;
class Workspace {
private:
- BScreen *screen;
+ BScreen &screen;
OpenboxWindow *lastfocus;
Clientmenu *clientmenu;
@@ -52,10 +52,10 @@ protected:
public:
- Workspace(BScreen *, int = 0);
+ Workspace(BScreen &, int = 0);
~Workspace(void);
- inline BScreen *getScreen(void) { return screen; }
+ inline BScreen &getScreen(void) { return screen; }
inline OpenboxWindow *getLastFocusedWindow(void) { return lastfocus; }