diff options
| author | Mozzarella32 <143010987+Mozzarella32@users.noreply.github.com> | 2025-10-20 13:22:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-20 12:22:50 +0100 |
| commit | 46dab01bcc47b2e29f36cd4d35d04091e4134a67 (patch) | |
| tree | 42e79bda2f53b14ce79bdd259c3e4712874abe70 /src/helpers | |
| parent | 474cd004df5c929fc3d7a71e46e8e9e363c21c39 (diff) | |
renderer: add more uniforms to the screen shader (#11986)
These are: pointer_shape from the cursor-shape-v1 protocol prepared for v2, along with left_ptr...bottom_right_corner and killing (Hyprland specific)
pointer_shape_previous with
pointer_switch_time to blend between shapes
pointer_size scaled size as used by the normal cursor
pointer_pressed_positions[32] with
pointer_pressed_times[32] and
pointer_pressed_killed(32 bits) for click/touch animations and if they killed something
pointer_inactive_timeout with
pointer_last_active to smoothly fade the pointer out
pointer_hidden to hide it when the cursor is hidden (excluding by cursor:invisible as this config value can be used to turn off the normal cursor, which is useful when drawing it with the screen shader)
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/CursorShapes.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/CursorShapes.hpp b/src/helpers/CursorShapes.hpp index 6f3c8a0e..cb95cd8b 100644 --- a/src/helpers/CursorShapes.hpp +++ b/src/helpers/CursorShapes.hpp @@ -40,4 +40,4 @@ constexpr std::array<const char*, 35> CURSOR_SHAPE_NAMES = { "zoom-in", "zoom-out", }; -// clang-format on
\ No newline at end of file +// clang-format on |
