diff options
| author | srdusr <[email protected]> | 2025-09-11 20:46:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-09-11 20:46:00 +0200 |
| commit | b219797e2143ea84cf527fbf48afb22cc35fe9a5 (patch) | |
| tree | 5ff8d1679fde0d36a794169590a2d81ce8a6402b /tools/virtual-pointer-pin-test/Cargo.toml | |
| parent | 5ee627928d0cb017e59d796c71793c35d5b65d33 (diff) | |
| download | srdwm-b219797e2143ea84cf527fbf48afb22cc35fe9a5.tar.gz srdwm-b219797e2143ea84cf527fbf48afb22cc35fe9a5.zip | |
Add a minimal zwlr_virtual_pointer_unstable_v1 test client
Standalone (not a workspace member, same reasoning as the existing
tools/toplevel-activate), built to live-verify the Wayland crate's new
pinned-virtual-pointer delivery (crates/wayland/src/virtual_pointer.rs)
against a real client rather than reading the source: prints its own
pid so an external script can pin it via srd dispatch pin input, then
drags from one point to another on a stdin signal.
Not yet run against a live nested instance - launching one hits this
project's own nightshift deny-list guard against a bare nested-compositor
invocation, parked rather than worked around; see docs/TODO.md.
Diffstat (limited to 'tools/virtual-pointer-pin-test/Cargo.toml')
| -rw-r--r-- | tools/virtual-pointer-pin-test/Cargo.toml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/virtual-pointer-pin-test/Cargo.toml b/tools/virtual-pointer-pin-test/Cargo.toml new file mode 100644 index 0000000..b5ba931 --- /dev/null +++ b/tools/virtual-pointer-pin-test/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "virtual-pointer-pin-test" +version = "0.1.0" +edition = "2021" + +# Standalone - deliberately not a member of the main workspace at +# ../../Cargo.toml, same reasoning as ../toplevel-activate's own Cargo.toml: +# building/testing srdwm itself never has to build this too. A debug tool, +# not part of the shipped product. +[workspace] + +[[bin]] +name = "vptest" +path = "src/main.rs" + +[dependencies] +wayland-client = "=0.31.14" +wayland-protocols-wlr = { version = "=0.3.12", features = ["client"] } |