-
Mohammed Sadiq authored
priv->is_switch is used to get hint if the gesture happened on the switch. On touch devices, ::enter-notify-event may not be emitted, and so priv->is_switch may not be set. Let it be set when ::pressed gesture is emitted so that the switch is toggled when the gesture occurs regardless of whether a pointing device is present or not.
2fc60a1e