Drop Screens::number()
This commit is contained in:
parent
66850e62a0
commit
cc1bd42f16
2 changed files with 0 additions and 6 deletions
|
@ -109,11 +109,6 @@ void Screens::setCount(int count)
|
||||||
Q_EMIT countChanged(previous, 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
|
AbstractOutput *Screens::findOutput(int screen) const
|
||||||
{
|
{
|
||||||
return kwinApp()->platform()->findOutput(screen);
|
return kwinApp()->platform()->findOutput(screen);
|
||||||
|
|
|
@ -62,7 +62,6 @@ public:
|
||||||
* @see sizeChanged()
|
* @see sizeChanged()
|
||||||
*/
|
*/
|
||||||
QSize size() const;
|
QSize size() const;
|
||||||
int number(const QPoint &pos) const;
|
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void countChanged(int previousCount, int newCount);
|
void countChanged(int previousCount, int newCount);
|
||||||
|
|
Loading…
Reference in a new issue