Skip to content
  • Peter Hutterer's avatar
    Fix proximity events · d8aef838
    Peter Hutterer authored
    Two bugs caused proximity events to be discarded. First, on proximity out
    posting through pDev would be discarded because pDev is the parent device that
    we use as a base for hotplugging the real devices for each tool from. That
    device never sends events though, doing so will see the event discarded in the
    server.
    
    Second, if the tool already exists don't just exit, send the proximity event
    first. To unify the three paths where we do send the events simply move them
    down to the exit phase of the function.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=95484
    
    
    
    Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    d8aef838