Workspace::restackClientUnderActive operates on AbstractClient

This commit is contained in:
Martin Gräßlin 2015-03-06 15:32:35 +01:00
parent ddcd4dab59
commit c357ac01fe
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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*);