From d0583e176151bd037015ae48e3c0c582d94c59da Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:44:35 +0000 Subject: compositor: fix calculating x11 work area (#13347) in a multimon scenario, due to our positioning hacks, and due to the fact work area is a rect anyways, likely wont make sense --- src/Compositor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.hpp') diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 9a6d9bd4..d5317e9b 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -121,7 +121,7 @@ class CCompositor { WORKSPACEID getNextAvailableNamedWorkspace(); bool isPointOnAnyMonitor(const Vector2D&); bool isPointOnReservedArea(const Vector2D& point, const PHLMONITOR monitor = nullptr); - CBox calculateX11WorkArea(); + std::optional calculateX11WorkArea(); PHLMONITOR getMonitorInDirection(Math::eDirection); PHLMONITOR getMonitorInDirection(PHLMONITOR, Math::eDirection); void updateAllWindowsAnimatedDecorationValues(); -- cgit v1.2.3