• Matthias Clasen's avatar
    Make GtkModelButton work with touch · 96fd1545
    Matthias Clasen authored
    Some recent refactoring changed things so that in_button is no
    longer TRUE when released() is called for touch events. As a minimal
    fix, let GtkButton do more of the work by chaining up to its
    pressed and released handlers, which know how to handle touch
    events. This could be further improved by leaving more of the
    state handling to GtkButton, like it was done for GtkToggleButton.
gtkmodelbutton.c 24.4 KB