From 2f97f7931b8ad8933bd45737707711d3c12aef34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Sun, 17 Jun 2018 02:47:15 +0300 Subject: workspace: ignore middle struts calculating screen workarea --- src/core/workspace.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/workspace.c') diff --git a/src/core/workspace.c b/src/core/workspace.c index 6c0fc1b8..35b180af 100644 --- a/src/core/workspace.c +++ b/src/core/workspace.c @@ -646,12 +646,14 @@ ensure_work_areas_validated (MetaWorkspace *workspace) workspace->monitor_region[i] = meta_rectangle_get_minimal_spanning_set_for_region ( &workspace->screen->monitor_infos[i].rect, - workspace->all_struts); + workspace->all_struts, + FALSE); } workspace->screen_region = meta_rectangle_get_minimal_spanning_set_for_region ( &workspace->screen->rect, - workspace->all_struts); + workspace->all_struts, + TRUE); /* STEP 3: Get the work areas (region-to-maximize-to) for the screen and * monitors. -- cgit v1.2.1