diff --git a/workspace.cpp b/workspace.cpp index 723ab29bc6..1b2e3f8e8b 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1546,7 +1546,7 @@ int Workspace::numScreens() const return Kephal::ScreenUtils::numScreens(); } -int Workspace::activeScreen( bool checkClient ) const +int Workspace::activeScreen() const { if( !options->xineramaEnabled ) return 0; diff --git a/workspace.h b/workspace.h index 77e2cb6fe6..013c6911d7 100644 --- a/workspace.h +++ b/workspace.h @@ -282,7 +282,7 @@ class Workspace : public QObject, public KDecorationDefines // Unsorted public: - int activeScreen( bool checkClient = true ) const; + int activeScreen() const; int numScreens() const; void checkActiveScreen( const Client* c ); void setActiveScreenMouse( const QPoint& mousepos );