Move AbstractWaylandOutput::geometryChanged() to AbstractOutput
On X11, this signal is never emitted because outputs get destroyed when the output layout changes.
This commit is contained in:
parent
4296a38a30
commit
6cfee149ea
2 changed files with 6 additions and 1 deletions
|
@ -164,6 +164,12 @@ public:
|
||||||
/** Returns the resolution of the output. */
|
/** Returns the resolution of the output. */
|
||||||
virtual QSize pixelSize() const = 0;
|
virtual QSize pixelSize() const = 0;
|
||||||
|
|
||||||
|
Q_SIGNALS:
|
||||||
|
/**
|
||||||
|
* This signal is emitted when the geometry of this output has changed.
|
||||||
|
*/
|
||||||
|
void geometryChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_DISABLE_COPY(AbstractOutput)
|
Q_DISABLE_COPY(AbstractOutput)
|
||||||
};
|
};
|
||||||
|
|
|
@ -126,7 +126,6 @@ public:
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void modeChanged();
|
void modeChanged();
|
||||||
void geometryChanged();
|
|
||||||
void outputChange(const QRegion &damagedRegion);
|
void outputChange(const QRegion &damagedRegion);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in a new issue