From b0a6b67cbfb080ee44b6a6fa005dd63ab0f93cd8 Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Thu, 8 Aug 2024 23:35:00 +0200 Subject: Fix a stale comment in cursor.rs's own shape-fallback dispatch Named Pointer/Crosshair/Move/text/four resize-direction shapes all have dedicated art now, but the comment picking Pointer/Crosshair as its examples of "shapes we don't draw" predates that - misleading about this file's own current behavior. Swapped in shapes that genuinely still fall back to the arrow (Grab, Wait, Help, NotAllowed). --- crates/wayland/src/cursor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/wayland/src/cursor.rs b/crates/wayland/src/cursor.rs index 624b3b3..c03fcef 100644 --- a/crates/wayland/src/cursor.rs +++ b/crates/wayland/src/cursor.rs @@ -464,7 +464,8 @@ where // No client image. A named shape we have dedicated art for gets it // (centered on the pointer - these are all symmetric shapes, unlike // the arrow); anything else (Default, or one of the many shapes we - // don't draw, e.g. Grab/Pointer/Crosshair) falls back to the arrow. + // still don't draw, e.g. Grab/Wait/Help/NotAllowed) falls back to the + // arrow. // The arrow's own hotspot is `buffers.arrow_hotspot` - (0, 0), the // bitmap's tip, for the built-in fallback, but a real theme's `xhot`/ // `yhot` (not necessarily the top-left corner at all) when -- cgit v1.2.3