From c357ac01fe5d95907812d872a18247d1b79dba55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 6 Mar 2015 15:32:35 +0100 Subject: [PATCH] Workspace::restackClientUnderActive operates on AbstractClient --- layers.cpp | 2 +- workspace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layers.cpp b/layers.cpp index 49cc678307..a273e8d6ab 100644 --- a/layers.cpp +++ b/layers.cpp @@ -454,7 +454,7 @@ void Workspace::restack(AbstractClient* c, AbstractClient* under, bool force) updateStackingOrder(); } -void Workspace::restackClientUnderActive(Client* c) +void Workspace::restackClientUnderActive(AbstractClient* c) { if (!active_client || active_client == c || active_client->layer() != c->layer()) { raiseClient(c); diff --git a/workspace.h b/workspace.h index d8afa46ec6..ff94d46ae7 100644 --- a/workspace.h +++ b/workspace.h @@ -178,7 +178,7 @@ public: void lowerClient(AbstractClient* c, bool nogroup = false); void raiseClientRequest(Client* c, NET::RequestSource src, xcb_timestamp_t timestamp); void lowerClientRequest(Client* c, NET::RequestSource src, xcb_timestamp_t timestamp); - void restackClientUnderActive(Client*); + void restackClientUnderActive(AbstractClient*); void restack(AbstractClient *c, AbstractClient *under, bool force = false); void updateClientLayer(Client* c); void raiseOrLowerClient(AbstractClient*);