1 From 641ca7ca26c1bfc11e7d0c0f30b731f53467bf1f Mon Sep 17 00:00:00 2001
2 From: Marius Vlad <marius.vlad@collabora.com>
3 Date: Thu, 28 Dec 2023 20:28:12 +0200
4 Subject: [PATCH 2/2] activation_area: Allow x and y values be zero for the
8 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
10 shell/wayland/window.cc | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/shell/wayland/window.cc b/shell/wayland/window.cc
14 index f816e58..929b9af 100644
15 --- a/shell/wayland/window.cc
16 +++ b/shell/wayland/window.cc
17 @@ -100,7 +100,7 @@ WaylandWindow::WaylandWindow(size_t index,
20 m_display->AglShellDoBackground(m_base_surface, 0);
21 - if (m_activation_area.x > 0 && m_activation_area.y > 0)
22 + if (m_activation_area.x >= 0 && m_activation_area.y >= 0)
23 m_display->AglShellDoSetupActivationArea(
24 m_activation_area.x, m_activation_area.y, m_activation_area.width,
25 m_activation_area.height, 0);