srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2024-08-08 23:35:00 +0200
committersrdusr <[email protected]>2024-08-08 23:35:00 +0200
commitb0a6b67cbfb080ee44b6a6fa005dd63ab0f93cd8 (patch)
tree6f1edb4b5c2fc375b80d4f33d8b40fb59a63ec12 /crates
parent35a28a257644483495ac2bd6a5fb1e109e8c1f26 (diff)
downloadsrdwm-b0a6b67cbfb080ee44b6a6fa005dd63ab0f93cd8.tar.gz
srdwm-b0a6b67cbfb080ee44b6a6fa005dd63ab0f93cd8.zip
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).
Diffstat (limited to 'crates')
-rw-r--r--crates/wayland/src/cursor.rs3
1 files changed, 2 insertions, 1 deletions
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