mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 18:25:59 +01:00
compositor: update all xdg outputs on arrange
This commit is contained in:
parent
8e237b006f
commit
3a5052a714
1 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue