wayland: Emit wl_pointer.frame after .enter in pointer resource creation

This place was missing concordance with wl_pointer v5.
This commit is contained in:
Carlos Garnacho 2016-01-19 11:51:36 +01:00
parent e30010b9f0
commit fc0a834abb

View File

@ -1061,9 +1061,12 @@ meta_wayland_pointer_create_new_resource (MetaWaylandPointer *pointer,
wl_resource_get_link (cr));
if (pointer->focus_client == pointer_client)
{
meta_wayland_pointer_send_enter (pointer, cr,
pointer->focus_serial,
pointer->focus_surface);
meta_wayland_pointer_send_frame (pointer, cr);
}
}
gboolean