summaryrefslogtreecommitdiff
path: root/src/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/workspace.c')
-rw-r--r--src/workspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workspace.c b/src/workspace.c
index 8d4415a..7bf51e9 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -45,8 +45,8 @@ meta_workspace_new (MetaScreen *screen)
*/
workspace->workarea.x = 0;
workspace->workarea.y = 0;
- workspace->workarea.width = WidthOfScreen (screen->xscreen);
- workspace->workarea.height = HeightOfScreen (screen->xscreen);
+ workspace->workarea.width = screen->width;
+ workspace->workarea.height = screen->height;
/* Update hint for current number of workspaces */
set_number_of_spaces_hint (screen);