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-b...@gtk.org ReportedBy: carl...@gnome.org QAContact: gtk-b...@gtk.org CC: r...@robster.org.uk, wayland-bugs@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. _______________________________________________ Wayland-bugs mailing list Wayland-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-bugs