Skip to content
  • Carlos Garnacho's avatar
    gtkbutton: Check release coordinates on all release event types · ea6e5759
    Carlos Garnacho authored
    The priv->in_button state that used to be relied upon for pointer
    events has been reduced over time to a broken state, since the button
    does not track crossing events anymore.
    
    Make the coordinate-based checks apply for pointer events too, besides
    touch events. This fixes GtkButton mistakenly emitting ::clicked with
    pointer button releases outside the widget.
    
    Fixes: #3121
    ea6e5759