From 347a1eb662b13a077ea5ca4bce0fab3665501855 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 15 Aug 2023 17:55:29 +0200 Subject: xdgoutput: separate logic for zero scaling positions if a scaled monitor was directly to the left of another monitor, we'd change the size to have zero scaling without pushing other monitors out of the way, creating overlaps in xwayland. --- src/protocols/XDGOutput.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/protocols/XDGOutput.hpp') diff --git a/src/protocols/XDGOutput.hpp b/src/protocols/XDGOutput.hpp index 13b7029c..2469e600 100644 --- a/src/protocols/XDGOutput.hpp +++ b/src/protocols/XDGOutput.hpp @@ -1,6 +1,7 @@ #pragma once #include "WaylandProtocol.hpp" +#include class CMonitor; @@ -8,6 +9,8 @@ struct SXDGOutput { CMonitor* monitor = nullptr; std::unique_ptr resource; + std::optional overridePosition; + wl_client* client = nullptr; bool isXWayland = false; }; -- cgit v1.2.3