Move AbstractWaylandOutput::geometryChanged() to AbstractOutput

On X11, this signal is never emitted because outputs get destroyed when
the output layout changes.
master
Vlad Zahorodnii 2020-08-18 21:38:12 +03:00
parent 4296a38a30
commit 6cfee149ea
2 changed files with 6 additions and 1 deletions

View File

@ -164,6 +164,12 @@ public:
/** Returns the resolution of the output. */
virtual QSize pixelSize() const = 0;
Q_SIGNALS:
/**
* This signal is emitted when the geometry of this output has changed.
*/
void geometryChanged();
private:
Q_DISABLE_COPY(AbstractOutput)
};

View File

@ -126,7 +126,6 @@ public:
Q_SIGNALS:
void modeChanged();
void geometryChanged();
void outputChange(const QRegion &damagedRegion);
protected: