diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-02-25 22:44:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-25 22:44:35 +0000 |
| commit | d0583e176151bd037015ae48e3c0c582d94c59da (patch) | |
| tree | 49f9f3c46e511759390822c96b5684d98792e615 /src/Compositor.hpp | |
| parent | 5b2efe54b135a5142bdd2266bbb3f26bca0b29e2 (diff) | |
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
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<CBox> calculateX11WorkArea(); PHLMONITOR getMonitorInDirection(Math::eDirection); PHLMONITOR getMonitorInDirection(PHLMONITOR, Math::eDirection); void updateAllWindowsAnimatedDecorationValues(); |
