diff options
Diffstat (limited to 'twin/useractions.cpp')
-rw-r--r-- | twin/useractions.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/twin/useractions.cpp b/twin/useractions.cpp index 1bcd2dafa..dd29025db 100644 --- a/twin/useractions.cpp +++ b/twin/useractions.cpp @@ -654,6 +654,16 @@ void Workspace::showWindowMenuAt( unsigned long window, int x, int y ) showWindowMenu( x, y, client ); } +void Workspace::showWindowMenu( unsigned long window ) + { + Client *client; + if ((client = findClient(WindowMatchPredicate((WId)window)))) + { + TQPoint pos = client->pos() + client->clientPos(); + showWindowMenu( pos, client ); + } + } + void Workspace::slotActivateAttentionWindow() { if( attention_chain.count() > 0 ) |