Commit bb066c5
authored
fix computer controls hang (#92)
using --sync was ill-advised, it doesn't seem to detect when no mouse
movements are necessary to achieve a mousemove, so getting rid of it for
now
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Removes the `--sync` flag from all `xdotool mousemove` calls to
prevent hanging during mouse operations.
>
> - **Backend (computer controls)** in `server/cmd/api/api/computer.go`:
> - Remove `--sync` from `xdotool mousemove` in:
> - `MoveMouse`
> - `ClickMouse`
> - `Scroll`
> - `DragMouse` (initial move to start point)
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
429cec9. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent ce46982 commit bb066c5
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments