Workspace::showWindowMenu operates on AbstractClient

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

View file

@ -1793,7 +1793,7 @@ void Workspace::slotWindowOperations()
showWindowMenu(QRect(pos, pos), active_client); showWindowMenu(QRect(pos, pos), active_client);
} }
void Workspace::showWindowMenu(const QRect &pos, Client* cl) void Workspace::showWindowMenu(const QRect &pos, AbstractClient* cl)
{ {
m_userActionsMenu->show(pos, cl); m_userActionsMenu->show(pos, cl);
} }

View file

@ -256,7 +256,7 @@ public:
* Shows the menu operations menu for the client and makes it active if * Shows the menu operations menu for the client and makes it active if
* it's not already. * it's not already.
*/ */
void showWindowMenu(const QRect& pos, Client* cl); void showWindowMenu(const QRect& pos, AbstractClient* cl);
const UserActionsMenu *userActionsMenu() const { const UserActionsMenu *userActionsMenu() const {
return m_userActionsMenu; return m_userActionsMenu;
} }