Skip to content

Commit a659790

Browse files
authored
Merge pull request #215 from curtisblackwell/fix-issue-preventing-setting-position-on-open-windows
Fix the issue that prevented setting the position on open windows
2 parents f2d4a72 + 02106ec commit a659790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Windows/WindowManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function resize($width, $height, $id = null)
4242

4343
public function position($x, $y, $animated = false, $id = null)
4444
{
45-
$this->client->post('window/resize', [
45+
$this->client->post('window/position', [
4646
'id' => $id ?? $this->detectId(),
4747
'x' => $x,
4848
'y' => $y,

0 commit comments

Comments
 (0)