Skip to content
  • Carlos Garnacho's avatar
    gdkdevice: Add GdkDevice::tool-changed signal · d5f141a9
    Carlos Garnacho authored
    On the devices and backends that support it, this signal will be emitted
    on slave/floating devices whenever the tool they are interacting with
    changes. These notifications may also work as a sort of proximity events,
    as the tool will be unset when the pen moves too far.
    
    For backends, gdk_device_update_tool() has been included, all that should
    be done on their side is just calling this whenever any tool might have
    changed.
    d5f141a9