diff --git a/geometry.cpp b/geometry.cpp index 86fe05c5ec..526022050c 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -252,7 +252,7 @@ QRect Workspace::clientArea( clientAreaOption opt, const QPoint& p, int desktop case FullArea: return desktopwidget->geometry(); case ScreenArea: - return sarea; + return desktopwidget->screenGeometry( screen ); } assert( false ); return QRect();