Remove useless 'return'

This commit is contained in:
Simon Vieille 2018-02-07 11:45:38 +01:00
parent b21e259eec
commit 018f10751c
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $server->addMessageHandler('pointer', function (ConnectionInterface $from, array
$mouseX = (int) ($matches[1] + $x * 2.5);
$mouseY = (int) ($matches[2] + $y * 2.5);
return $shell->exec('xdotool mousemove %s %s', $mouseX, $mouseY);
$shell->exec('xdotool mousemove %s %s', $mouseX, $mouseY);
} elseif ($click !== null) {
if ($click === 'left') {
$shell->exec('xdotool click 1');