commit b076b2d
Michael Forney
·
2014-02-26 03:10:50 +0000 UTC
parent 3509094
pointer: Handle cursor surface destruction correctly
1 files changed,
+1,
-0
+1,
-0
1@@ -76,6 +76,7 @@ static void handle_cursor_surface_destroy(struct wl_listener * listener,
2 = CONTAINER_OF(listener, typeof(*pointer), cursor.destroy_listener);
3
4 view_attach(&pointer->cursor.view, NULL);
5+ pointer->cursor.surface = NULL;
6 }
7
8 static bool update(struct view * view)