Commit 6cfee149 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Move AbstractWaylandOutput::geometryChanged() to AbstractOutput

On X11, this signal is never emitted because outputs get destroyed when
the output layout changes.
parent 4296a38a
...@@ -164,6 +164,12 @@ public: ...@@ -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: ...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment