commit ce8e6e6
Michael Forney
·
2015-09-02 03:57:22 +0000 UTC
parent bd76082
pointer: Send frame callbacks for cursor attaches This fixes animated cursors and Xwayland cursor changes.
2 files changed,
+2,
-1
+1,
-0
1@@ -69,6 +69,7 @@ handle_cursor_surface_destroy(struct wl_listener *listener, void *data)
2 static bool
3 update(struct view *view)
4 {
5+ view_frame(view, get_time());
6 return true;
7 }
8
+1,
-1
1@@ -122,7 +122,7 @@ void view_update_screens(struct view *view);
2 * Send a new frame event through the view's event signal.
3 *
4 * This should be called by the view itself when the next frame is visible to
5- * the user. If time information is not available, swc_time() can be passed
6+ * the user. If time information is not available, get_time() can be passed
7 * instead.
8 */
9 void view_frame(struct view *view, uint32_t time);