From 2c3d2357dbc4264fdb42360885ca8f2836f3c5c2 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Tue, 26 Nov 2024 11:13:53 -0500 Subject: [PATCH] bugfix: when placing a surface that ignores exclusion zones, the application_zone should be the full display_area --- src/miral/basic_window_manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/miral/basic_window_manager.cpp b/src/miral/basic_window_manager.cpp index 03248a34a1..c4490d0e38 100644 --- a/src/miral/basic_window_manager.cpp +++ b/src/miral/basic_window_manager.cpp @@ -1877,7 +1877,9 @@ auto miral::BasicWindowManager::place_new_surface(WindowSpecification parameters display_area = active_display_area(); } - auto const application_zone = display_area->application_zone.extents(); + auto const application_zone = parameters.ignore_exclusion_zones().value_or(false) + ? display_area->area + : display_area->application_zone.extents(); bool positioned = false;