docs: correct Wayland warp attribution to eaburns's devdraw/acme
The pointer-constraints warp technique follows eaburns's Wayland implementation of devdraw/acme (github.com/eaburns/plan9port, wayland branch), not plan9port proper. Fix the attribution in both the README radial section and the waylandcursorwarp.h header comment, and link the source.
This commit is contained in:
parent
6b8f66aabc
commit
4a785a8d46
|
|
@ -216,8 +216,8 @@ through a list.
|
||||||
or focus-move), the pointer is warped to the centre of the new pane so the
|
or focus-move), the pointer is warped to the centre of the new pane so the
|
||||||
mouse stays where your attention is — the same cursor-follows-focus feel as
|
mouse stays where your attention is — the same cursor-follows-focus feel as
|
||||||
acme. On X11 this is a direct `QCursor::setPos`; on Wayland (which forbids
|
acme. On X11 this is a direct `QCursor::setPos`; on Wayland (which forbids
|
||||||
that) it uses the pointer-constraints protocol, matching how plan9port warps
|
that) it uses the pointer-constraints protocol, following
|
||||||
the cursor there.
|
[eaburns's Wayland devdraw/acme](https://github.com/eaburns/plan9port/tree/wayland).
|
||||||
- **Configure:** drop a `radials.json` at `~/.config/deft/radials.json` to
|
- **Configure:** drop a `radials.json` at `~/.config/deft/radials.json` to
|
||||||
replace the built-in tree; when it is absent, empty, or invalid, the built-in
|
replace the built-in tree; when it is absent, empty, or invalid, the built-in
|
||||||
default is used. See [docs/radials.example.json](docs/radials.example.json)
|
default is used. See [docs/radials.example.json](docs/radials.example.json)
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@
|
||||||
* sanctioned way to reposition the cursor is zwp_pointer_constraints_v1: lock
|
* sanctioned way to reposition the cursor is zwp_pointer_constraints_v1: lock
|
||||||
* the pointer to the surface it is already over, set a surface-local position
|
* the pointer to the surface it is already over, set a surface-local position
|
||||||
* hint, then release the lock — the compositor warps the pointer to the hint on
|
* hint, then release the lock — the compositor warps the pointer to the hint on
|
||||||
* unlock (this is exactly how plan9port/acme moves the cursor on Wayland).
|
* unlock (this is how eaburns's Wayland implementation of devdraw/acme moves
|
||||||
|
* the cursor: https://github.com/eaburns/plan9port/tree/wayland).
|
||||||
*
|
*
|
||||||
* Kate's split panes are child widgets of a single top-level window, i.e. one
|
* Kate's split panes are child widgets of a single top-level window, i.e. one
|
||||||
* wl_surface, so moving the pointer between panes is a warp *within* that
|
* wl_surface, so moving the pointer between panes is a warp *within* that
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue