diff --git a/geometry.cpp b/geometry.cpp index 3e781f1b5a..16e625b1de 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -76,7 +76,7 @@ void Workspace::desktopResized() NETSize desktop_geometry; desktop_geometry.width = geom.width(); desktop_geometry.height = geom.height(); - rootInfo()->setDesktopGeometry(-1, desktop_geometry); + rootInfo()->setDesktopGeometry(desktop_geometry); updateClientArea(); saveOldScreenSizes(); // after updateClientArea(), so that one still uses the previous one diff --git a/workspace.cpp b/workspace.cpp index 1b763ae61a..e05d204bb5 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -390,7 +390,7 @@ void Workspace::init() NETSize desktop_geometry; desktop_geometry.width = geom.width(); desktop_geometry.height = geom.height(); - rootInfo->setDesktopGeometry(-1, desktop_geometry); + rootInfo->setDesktopGeometry(desktop_geometry); setShowingDesktop(false); } // End updates blocker block