Port Window from Screens

The Window uses the Output which is stable and should not require us
connecting Screens::change anymore.
This commit is contained in:
Vlad Zahorodnii 2022-08-27 17:12:43 +03:00
parent e840617047
commit 6897f9a1e0

View file

@ -24,7 +24,6 @@
#include "focuschain.h"
#include "outline.h"
#include "platform.h"
#include "screens.h"
#if KWIN_BUILD_TABBOX
#include "tabbox.h"
#endif
@ -80,7 +79,6 @@ Window::Window()
#endif
, m_colorScheme(QStringLiteral("kdeglobals"))
{
connect(workspace()->screens(), &Screens::changed, this, &Window::screenChanged);
connect(this, &Window::bufferGeometryChanged, this, &Window::inputTransformationChanged);
// Only for compatibility reasons, drop in the next major release.