diff --git a/src/screens.cpp b/src/screens.cpp index 60e4d142b1..5fe2ea101e 100644 --- a/src/screens.cpp +++ b/src/screens.cpp @@ -109,11 +109,6 @@ void Screens::setCount(int count) Q_EMIT countChanged(previous, count); } -int Screens::number(const QPoint &pos) const -{ - return kwinApp()->platform()->enabledOutputs().indexOf(kwinApp()->platform()->outputAt(pos)); -} - AbstractOutput *Screens::findOutput(int screen) const { return kwinApp()->platform()->findOutput(screen); diff --git a/src/screens.h b/src/screens.h index cb990331af..0f5a85d802 100644 --- a/src/screens.h +++ b/src/screens.h @@ -62,7 +62,6 @@ public: * @see sizeChanged() */ QSize size() const; - int number(const QPoint &pos) const; Q_SIGNALS: void countChanged(int previousCount, int newCount);