diff --git a/workspace.cpp b/workspace.cpp index 05821af979..bee4c68c2f 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -58,6 +58,7 @@ along with this program. If not, see . #include "scene.h" #include "deleted.h" #include "effects.h" +#include "screenedge.h" #include "tilinglayout.h" #include "scripting/scripting.h" @@ -2391,6 +2392,12 @@ Outline* Workspace::outline() return m_outline; } +ScreenEdge* Workspace::screenEdge() +{ + return &m_screenEdge; +} + + } // namespace #include "workspace.moc" diff --git a/workspace.h b/workspace.h index d29c5a9714..affe191ef2 100644 --- a/workspace.h +++ b/workspace.h @@ -38,6 +38,7 @@ along with this program. If not, see . #include "utils.h" #include "kdecoration.h" #include "kdecorationfactory.h" +#include "screenedge.h" #include "sm.h" #include @@ -220,6 +221,7 @@ public: Position supportedTilingResizeMode(Client *c, Position currentMode); Outline* outline(); + ScreenEdge* screenEdge(); //------------------------------------------------- // Desktop layout @@ -330,6 +332,7 @@ private: QVector tilingLayouts; Outline* m_outline; + ScreenEdge m_screenEdge; //------------------------------------------------- // Unsorted