Drop Toplevel::isOnScreen()
It's unused. Its replacement is Toplevel::isOnOutput().
This commit is contained in:
parent
93ec5d8ea9
commit
e198727e15
2 changed files with 0 additions and 6 deletions
|
@ -415,11 +415,6 @@ qreal Toplevel::bufferScale() const
|
|||
return surface() ? surface()->bufferScale() : 1;
|
||||
}
|
||||
|
||||
bool Toplevel::isOnScreen(int screen) const
|
||||
{
|
||||
return screens()->geometry(screen).intersects(frameGeometry());
|
||||
}
|
||||
|
||||
bool Toplevel::isOnActiveOutput() const
|
||||
{
|
||||
return isOnOutput(workspace()->activeOutput());
|
||||
|
|
|
@ -341,7 +341,6 @@ public:
|
|||
int y() const;
|
||||
int width() const;
|
||||
int height() const;
|
||||
bool isOnScreen(int screen) const; // true if it's at least partially there
|
||||
bool isOnOutput(AbstractOutput *output) const;
|
||||
bool isOnActiveOutput() const;
|
||||
int screen() const; // the screen where the center is
|
||||
|
|
Loading…
Reference in a new issue