Uninline Toplevel::pid()

It's only used from one method and requires to have NETWinInfo being
included in the header.
This commit is contained in:
Martin Gräßlin 2013-04-26 11:18:57 +02:00
parent 94470f1ea2
commit 67b59f693c
2 changed files with 5 additions and 5 deletions

View file

@ -487,6 +487,11 @@ void Toplevel::elevate(bool elevate)
effectWindow()->elevate(elevate);
}
pid_t Toplevel::pid() const
{
return info->pid();
}
} // namespace
#include "toplevel.moc"

View file

@ -655,11 +655,6 @@ inline QByteArray Toplevel::windowRole() const
return window_role;
}
inline pid_t Toplevel::pid() const
{
return info->pid();
}
inline bool Toplevel::unredirected() const
{
return unredirect;