compositor: update all xdg outputs on arrange

This commit is contained in:
Vaxry 2024-10-05 00:44:16 +01:00
parent 8e237b006f
commit 3a5052a714

View file

@ -23,6 +23,7 @@
#include "protocols/PointerConstraints.hpp" #include "protocols/PointerConstraints.hpp"
#include "protocols/LayerShell.hpp" #include "protocols/LayerShell.hpp"
#include "protocols/XDGShell.hpp" #include "protocols/XDGShell.hpp"
#include "protocols/XDGOutput.hpp"
#include "protocols/core/Compositor.hpp" #include "protocols/core/Compositor.hpp"
#include "protocols/core/Subcompositor.hpp" #include "protocols/core/Subcompositor.hpp"
#include "desktop/LayerSurface.hpp" #include "desktop/LayerSurface.hpp"
@ -2869,6 +2870,8 @@ void CCompositor::arrangeMonitors() {
else else
m->xwaylandScale = 1.f; m->xwaylandScale = 1.f;
} }
PROTO::xdgOutput->updateAllOutputs();
} }
void CCompositor::enterUnsafeState() { void CCompositor::enterUnsafeState() {