Introduce AbstractWaylandOutput::geometry
This commit is contained in:
parent
062f1c3c87
commit
494c89a2d9
2 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,10 @@ AbstractWaylandOutput::AbstractWaylandOutput(QObject *parent)
|
|||
[this] (KWaylandServer::OutputInterface::DpmsMode mode) {
|
||||
updateDpms(mode);
|
||||
});
|
||||
|
||||
connect(m_waylandOutput, &KWaylandServer::OutputInterface::globalPositionChanged, this, &AbstractWaylandOutput::geometryChanged);
|
||||
connect(m_waylandOutput, &KWaylandServer::OutputInterface::pixelSizeChanged, this, &AbstractWaylandOutput::geometryChanged);
|
||||
connect(m_waylandOutput, &KWaylandServer::OutputInterface::scaleChanged, this, &AbstractWaylandOutput::geometryChanged);
|
||||
}
|
||||
|
||||
AbstractWaylandOutput::~AbstractWaylandOutput()
|
||||
|
|
|
@ -114,6 +114,7 @@ public:
|
|||
|
||||
Q_SIGNALS:
|
||||
void modeChanged();
|
||||
void geometryChanged();
|
||||
void outputChange(const QRegion &damagedRegion);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue