• Carlos Garnacho's avatar
    gdk: Always emit motion after enter · 3c40b217
    Carlos Garnacho authored
    After a pointer emulating GDK_TOUCH_END event triggering a fake leave
    notify with GDK_CROSSING_TOUCH_END mode, pointer_under_window will be
    unset, which will make the next motion/touch_update event to trigger
    an enter notify event again.
    
    Up till there, that's fine, however the motion event is just consumed
    in favor of the just synthesized enter notify event. This is unexpected
    to clients like spice-gtk that will only update coordinates from motion
    events, sending both enter and motion is more consistent with X11 and
    will make them happy.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791039
    3c40b217