Move AbstractClient::isInternal() to Toplevel
This commit is contained in:
parent
2797c64eea
commit
aba9440780
3 changed files with 6 additions and 15 deletions
|
@ -2966,11 +2966,6 @@ Group *AbstractClient::group()
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
bool AbstractClient::isInternal() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AbstractClient::supportsWindowRules() const
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -878,16 +878,6 @@ public:
|
|||
*/
|
||||
virtual Group *group();
|
||||
|
||||
/**
|
||||
* Returns whether this is an internal client.
|
||||
*
|
||||
* Internal clients are created by KWin and used for special purpose windows,
|
||||
* like the task switcher, etc.
|
||||
*
|
||||
* Default implementation returns @c false.
|
||||
*/
|
||||
virtual bool isInternal() const;
|
||||
|
||||
/**
|
||||
* Returns whether window rules can be applied to this client.
|
||||
*
|
||||
|
|
|
@ -390,6 +390,7 @@ public:
|
|||
virtual bool isLockScreen() const;
|
||||
virtual bool isInputMethod() const;
|
||||
virtual bool isOutline() const;
|
||||
virtual bool isInternal() const;
|
||||
|
||||
/**
|
||||
* Returns the virtual desktop within the workspace() the client window
|
||||
|
@ -879,6 +880,11 @@ inline bool Toplevel::isOutline() const
|
|||
return false;
|
||||
}
|
||||
|
||||
inline bool Toplevel::isInternal() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool Toplevel::shape() const
|
||||
{
|
||||
return is_shape;
|
||||
|
|
Loading…
Reference in a new issue