From 8436d99e460f4682dbb4fa8a349fd8431f78eccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 3 May 2012 22:54:16 +0200 Subject: [PATCH] fix build for KWIN_BUILD_SCREENEDGES=OFF BUG: 299326 FIXED-IN: 4.9 --- workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index 2d0103f811..c939bdf098 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -107,7 +107,9 @@ Workspace::Workspace(bool restore) , desktopGridSize_(1, 2) // Default to two rows , desktopGrid_(new int[2]) , currentDesktop_(0) +#ifdef KWIN_BUILD_SCREENEDGES , m_screenEdgeOrientation(0) +#endif // Unsorted , active_popup(NULL) , active_popup_client(NULL)