summaryrefslogtreecommitdiffstats
path: root/twin/useractions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/useractions.cpp')
-rw-r--r--twin/useractions.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/twin/useractions.cpp b/twin/useractions.cpp
index de78a5b64..2c6bc0a7a 100644
--- a/twin/useractions.cpp
+++ b/twin/useractions.cpp
@@ -647,10 +647,12 @@ bool Client::performMouseCommand( Options::MouseCommand command, TQPoint globalP
return replay;
}
-// KDE4 remove me
-void Workspace::showWindowMenuAt( unsigned long, int, int )
+void Workspace::showWindowMenuAt( unsigned long window, int x, int y )
{
- slotWindowOperations();
+ Client *client;
+ if ((client = findClient(WindowMatchPredicate((WId)window))))
+ showWindowMenu( x, y, client );
+
}
void Workspace::slotActivateAttentionWindow()