diff --git a/client.h b/client.h index 575e908caa..79b50651d6 100644 --- a/client.h +++ b/client.h @@ -94,7 +94,7 @@ class Client : public QObject, public KDecorationDefines int desktop() const; void setDesktop( int ); - bool isOnDesktop( int d ) const; // for d == NET::OnAllDesktop returns always true + bool isOnDesktop( int d ) const; bool isOnCurrentDesktop() const; bool isOnAllDesktops() const; void setOnAllDesktops( bool set ); @@ -592,7 +592,7 @@ inline bool Client::isOnAllDesktops() const */ inline bool Client::isOnDesktop( int d ) const { - return desk == d || /*desk == 0 ||*/ isOnAllDesktops() || d == NET::OnAllDesktops; + return desk == d || /*desk == 0 ||*/ isOnAllDesktops(); } inline