seat: Move cursor storage to MetaWaylandPointer

This commit is contained in:
Jasper St. Pierre
2014-04-17 16:54:30 -04:00
parent 76544ff6e1
commit ae0853ed86
8 changed files with 61 additions and 48 deletions

View File

@@ -147,7 +147,7 @@ make_wayland_cursor_tracker (MetaScreen *screen)
self->pipeline = cogl_pipeline_new (ctx);
compositor = meta_wayland_compositor_get_default ();
compositor->seat->cursor_tracker = self;
compositor->seat->pointer.cursor_tracker = self;
meta_cursor_tracker_update_position (self,
wl_fixed_to_int (compositor->seat->pointer.x),
wl_fixed_to_int (compositor->seat->pointer.y));

View File

@@ -222,7 +222,7 @@ meta_launcher_enter (MetaLauncher *launcher)
* update. */
clutter_actor_queue_redraw (compositor->stage);
meta_cursor_tracker_force_update (compositor->seat->cursor_tracker);
meta_cursor_tracker_force_update (compositor->seat->pointer.cursor_tracker);
}
}