diff --git a/useractions.cpp b/useractions.cpp index 92f7b57ad..eaa68961a 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -1566,7 +1566,7 @@ void Workspace::slotToggleShowDesktop() } template -void windowToDesktop(Client *c) +void windowToDesktop(AbstractClient *c) { VirtualDesktopManager *vds = VirtualDesktopManager::self(); Workspace *ws = Workspace::self(); @@ -1590,7 +1590,7 @@ void Workspace::slotWindowToNextDesktop() windowToNextDesktop(active_client); } -void Workspace::windowToNextDesktop(Client* c) +void Workspace::windowToNextDesktop(AbstractClient* c) { windowToDesktop(c); } @@ -1604,7 +1604,7 @@ void Workspace::slotWindowToPreviousDesktop() windowToPreviousDesktop(active_client); } -void Workspace::windowToPreviousDesktop(Client* c) +void Workspace::windowToPreviousDesktop(AbstractClient* c) { windowToDesktop(c); } diff --git a/workspace.h b/workspace.h index cbec683ed..d8afa46ec 100644 --- a/workspace.h +++ b/workspace.h @@ -248,8 +248,8 @@ public: bool only_normal = true) const; Client* findDesktop(bool topmost, int desktop) const; void sendClientToDesktop(Client* c, int desktop, bool dont_activate); - void windowToPreviousDesktop(Client* c); - void windowToNextDesktop(Client* c); + void windowToPreviousDesktop(AbstractClient* c); + void windowToNextDesktop(AbstractClient* c); void sendClientToScreen(AbstractClient* c, int screen); /**