diff --git a/Cargo.lock b/Cargo.lock index fd57fae..6b0400b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.13" +version = "0.2.14" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 9406288..e1421b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.13" +version = "0.2.14" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/docker/Dockerfile b/docker/Dockerfile index c1e5d74..9d1c756 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # Unofficial UU Remote Linux host in a container, for NAS boxes (Synology DSM, etc.) without a desktop. # Headless mode: file transfer, terminal and port mapping; no remote desktop. Uses the published release binary. FROM ubuntu:24.04 -ARG VERSION=v0.2.13 +ARG VERSION=v0.2.14 LABEL org.opencontainers.image.source="https://github.com/VallierDev/uu-remote-linux" \ org.opencontainers.image.description="Unofficial UU Remote Linux host, headless (file transfer, terminal, port mapping)" \ org.opencontainers.image.licenses="GPL-3.0" diff --git a/docs/release-notes/v0.2.14.md b/docs/release-notes/v0.2.14.md new file mode 100644 index 0000000..c7711d4 --- /dev/null +++ b/docs/release-notes/v0.2.14.md @@ -0,0 +1,20 @@ +Hyprland 双屏点击偏移修复,并可在手机端切换显示器(实验性)。/ Hyprland dual-monitor pointer fix and opt-in monitor switching. + +### 修复 / Fixed +- **Hyprland 双屏点击偏移**(#57,感谢 @JuanZoran):原生 Wayland 后端的绝对鼠标定位改为绑定正在采集的输出 + (此前 uinput 绝对坐标映射到整个桌面,双屏时点击位置偏移)。uinput 仍用于键盘、按键和相对移动。 + **影响所有 Hyprland 用户的默认路径**;单屏下映射结果与之前等价。贡献者已在双屏真机(2560×1440@125% + 1920×1080@133%) + 上验证落点误差 ≤ 2 像素;维护者未另行复测。 +- Absolute pointer motion on the native Wayland backend is now bound to the captured output (it previously spanned the whole + desktop through uinput, offsetting clicks on multi-monitor setups). Verified by the contributor on real dual-monitor hardware. + +### 新增 / Added +- **Hyprland 多显示器切换(实验性,默认关闭)**:设置 `UU_WAYLAND_MULTISCREEN=1` 后,手机端可以选择物理显示器,画面与 + 鼠标定位同步切换;`UU_WAYLAND_OUTPUT` 指定默认屏幕。通过 `hyprctl` 枚举未旋转的显示器,插拔或布局变化后需重启服务; + 切换失败会恢复原屏。由贡献者用官方手机客户端在 Omarchy / Hyprland 双屏上实测。 +- Opt-in Hyprland monitor switching (`UU_WAYLAND_MULTISCREEN=1`), accepted by the contributor with the official phone client. + +### 下载 / Download +`uu-remote-linux-v0.2.14-x86_64-linux.tar.gz`(含 `libuu-wayland.so` / `libuu-portal.so`),或 `docker pull ghcr.io/vallierdev/uu-remote-linux:v0.2.14`。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**