summaryrefslogtreecommitdiff
path: root/src/core/workspace.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-06-17 02:47:15 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-06-17 02:47:15 +0300
commit2f97f7931b8ad8933bd45737707711d3c12aef34 (patch)
treec1121c961d8e5c5937fed96c3708f840529a632c /src/core/workspace.c
parentae595d19b52d7e0a6b0092b17bfe3004e55a321f (diff)
downloadmetacity-2f97f7931b8ad8933bd45737707711d3c12aef34.tar.gz
workspace: ignore middle struts calculating screen workareawip/muktupavels/work-areas
Diffstat (limited to 'src/core/workspace.c')
-rw-r--r--src/core/workspace.c6
1 files changed, 4 insertions, 2 deletions
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.