wayland: Fix animated cursors
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 Nov 2017 16:20:42 +0000 (11:20 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 Nov 2017 16:27:06 +0000 (11:27 -0500)
commit909330f3473a8f1c38196709677753a3c815f688
tree92b3d48d3847126ea113337fef55dcf3fa0642d7
parent1cee71049a7857177e979c4a8ea63abe52f516d4
wayland: Fix animated cursors

We must reset the image delay when stopping the timeout,
otherwise the code setting it up thinks it is still running.

This fixes cursor animation only working for the very first
enter of a widget with an animated cursor, as seen in the
cursors example in gtk4-demo.
gdk/wayland/gdkdevice-wayland.c