[Wayland-bugs] [Bug 735847] New: move animatable cursors' current frame info into GdkCursor
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Sep 1 14:05:05 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=735847
gtk+ | Backend: Wayland | unspecified
Summary: move animatable cursors' current frame info into
GdkCursor
Classification: Platform
Product: gtk+
Version: unspecified
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: Backend: Wayland
AssignedTo: gtk-bugs at gtk.org
ReportedBy: carlosg at gnome.org
QAContact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
Currently GdkWaylandDeviceData maintains both the current GdkCursor in use and
the current image index to be used during cursor animations, IMO it would be
great to move this within the GdkWaylandCursor so it is easier to maintain
multiple cursors (as right now is being done for grab/window-under-pointer
cursors), and have all of those easily animatable without per-cursor frame
counters.
gdkdevice-wayland.c still looks anyway like a proper place to maintain the
animation itself, as it has knowledge of which cursor applies currently, so I
would suggest to have a gdk_wayland_cursor_tick() kind of API, that bumps the
image, and a gdk_wayland_cursor_reset_animation() to reset no longer used
cursors to the initial frame.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list