From efa1fe74c224b122f5177ff836857e4e4dd90806 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 21:04:01 +0200 Subject: [PATCH] docs: credit eaburns's devdraw/acme as the source of the Wayland warp technique MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reword from 'following'/'taken from' to 'sourced from' — the pointer-constraints warp technique was drawn from eaburns's Wayland devdraw/acme, not tracked or lifted wholesale. --- README.md | 2 +- src/radial/waylandcursorwarp.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7002861..d784e88 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ through a list. 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 acme. On X11 this is a direct `QCursor::setPos`; on Wayland (which forbids - that) it uses the pointer-constraints protocol, following + that) it uses the pointer-constraints protocol, a technique sourced from [eaburns's Wayland devdraw/acme](https://github.com/eaburns/plan9port/tree/wayland). - **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 diff --git a/src/radial/waylandcursorwarp.h b/src/radial/waylandcursorwarp.h index 9d55a5a..62513bd 100644 --- a/src/radial/waylandcursorwarp.h +++ b/src/radial/waylandcursorwarp.h @@ -9,8 +9,8 @@ * 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 * hint, then release the lock — the compositor warps the pointer to the hint on - * unlock (this is how eaburns's Wayland implementation of devdraw/acme moves - * the cursor: https://github.com/eaburns/plan9port/tree/wayland). + * unlock (technique sourced from eaburns's Wayland implementation of + * devdraw/acme: https://github.com/eaburns/plan9port/tree/wayland). * * 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