From ddcd4dab59f324ec6a30f6488fc54619f99ed219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 6 Mar 2015 15:17:13 +0100 Subject: [PATCH] Workspace::slotWindowTo(Previous|Next)Desktop operates on AbstractClient --- useractions.cpp | 6 +++--- workspace.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/useractions.cpp b/useractions.cpp index 92f7b57ada..eaa68961ad 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 cbec683edf..d8afa46ec6 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); /**