Commit 8fac1f68 authored by William Hua's avatar William Hua

mir: emit GDK_ENTER_NOTIFY on pointer enter

parent 2374a1b5
......@@ -386,6 +386,13 @@ handle_motion_event (GdkWindow *window, const MirInputEvent *event)
}
break;
case mir_pointer_action_enter:
if (!cursor_inside)
{
cursor_inside = TRUE;
generate_crossing_event (window, GDK_ENTER_NOTIFY, x, y, event_time);
}
break;
case mir_pointer_action_leave:
if (cursor_inside)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment