Damn, I hate keeping BC in an application.
svn path=/trunk/kdebase/kwin/; revision=184470
This commit is contained in:
parent
1371ab7064
commit
a508895993
2 changed files with 5 additions and 0 deletions
|
@ -3055,6 +3055,10 @@ bool Client::isTopMenu() const
|
|||
return windowType() == NET::TopMenu;
|
||||
}
|
||||
|
||||
bool Client::isMenu() const
|
||||
{
|
||||
return windowType() == NET::Menu;
|
||||
}
|
||||
|
||||
bool Client::isToolbar() const
|
||||
{
|
||||
|
|
1
client.h
1
client.h
|
@ -161,6 +161,7 @@ public:
|
|||
bool isTool() const; // KDE4 remove me
|
||||
bool isToolbar() const;
|
||||
bool isTopMenu() const;
|
||||
bool isMenu() const;
|
||||
bool isNormalWindow() const; // normal as in 'NET::Normal or NET::Unknown non-transient'
|
||||
bool isDialog() const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue