twin: fix showWindowMenuAt(...) DCOP call

Before it only called slotWindowOperations(), which showed the operations menu of the current window at a preset position, ignoring all arguments passed to showWindowMenuAt.

This commit implpements the correct behaviour of the function which takes all arguments into account.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/433/head
Mavridis Philippe 5 months ago
parent f093a1be1b
commit 6c0d9ec42e
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

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

Loading…
Cancel
Save