1. 20 Oct, 2016 1 commit
  2. 20 Aug, 2016 2 commits
  3. 01 May, 2016 1 commit
  4. 11 Apr, 2016 1 commit
  5. 09 Apr, 2016 1 commit
  6. 06 Apr, 2016 5 commits
    • Lyude Paul's avatar
      GdkDeviceTool: Add GdkAxisFlags info to tablet tools · 9e72d24b
      Lyude Paul authored
      Different tools may have different sets of axes, we should store that
      info somewhere.
      9e72d24b
    • Lyude Paul's avatar
      GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type · 8b2fd3ed
      Lyude Paul authored
      Because there are multiple different types of styluses that can be used with
      tablets, we have to have some sort of identifier for them attached to the
      GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool
      is necessary for matching up a GdkDeviceTool with it's appropriate
      GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the
      GDK_SOURCE_ERASER GdkInputSource of a wayland tablet).
      Signed-off-by: Lyude Paul's avatarStephen Chandler Paul <thatslyude@gmail.com>
      8b2fd3ed
    • 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
    • Carlos Garnacho's avatar
      gdkdevice: Add GdkDeviceTool to identify device tools · 4ba95b09
      Carlos Garnacho authored
      GdkDeviceTool is an opaque object that can be used to identify a given
      tool (eg. pens on tablets) during the app/device lifetime. Tools are only
      set on non-master devices, and are owned by these.
      
      The accounting functions are made private, the only public call on
      GdkDeviceTool so far is gdk_device_tool_get_serial(), useful to identify
      the tool across runs.
      4ba95b09
    • Carlos Garnacho's avatar
      device: Add gdk_device_get_axes(), and ::axes property · 0f962f10
      Carlos Garnacho authored
      This returns a GdkAxisFlags, holding the axes currently available
      through this device.
      0f962f10
  7. 25 Feb, 2016 1 commit
  8. 14 Dec, 2015 2 commits
  9. 24 Nov, 2015 1 commit
    • Carlos Garnacho's avatar
      device: Fix dispose · cc2e7729
      Carlos Garnacho authored
      The way master devices detach from their other master counterpart is
      vulnerable to infinite recursion due to the way we first recurse on
      the other device before clearing the pointer, this may happen if
      that last reference to the other master device is held by the
      device->associated field.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=732742
      cc2e7729
  10. 03 Nov, 2015 1 commit
  11. 06 Sep, 2015 1 commit
  12. 19 Jan, 2015 1 commit
  13. 28 Nov, 2014 1 commit
  14. 28 Oct, 2014 2 commits
  15. 05 Oct, 2014 1 commit
    • Matthias Clasen's avatar
      GdkDevice: Avoid unnecessary critical · 919bdff7
      Matthias Clasen authored
      There is no need for a critical warning just because somebody
      asked for a property that is not meaningful for the device.
      Just document it as not useful for keyboard devices.
      919bdff7
  16. 02 Oct, 2014 1 commit
  17. 21 Jul, 2014 1 commit
  18. 09 Jun, 2014 1 commit
  19. 19 May, 2014 1 commit
  20. 11 May, 2014 1 commit
  21. 13 Mar, 2014 2 commits
  22. 19 Feb, 2014 1 commit
  23. 09 Feb, 2014 1 commit
  24. 07 Feb, 2014 2 commits
  25. 16 Nov, 2013 1 commit
  26. 29 Jul, 2013 1 commit
  27. 03 Jul, 2013 1 commit
    • Alexander Larsson's avatar
      gdk: Convert mouse position to doubles, add new getters · e8b38fed
      Alexander Larsson authored
      We've long had double precision mouse coordinates on wayland (e.g.
      when rotating a window) but with the new scaling we even have it on
      X (and, its also in Xinput2), so convert all the internal mouse/device
      position getters to use doubles and add new accessors for the
      public APIs that take doubles instead of ints.
      e8b38fed
  28. 21 Jun, 2012 1 commit
  29. 03 Apr, 2012 1 commit
  30. 09 Mar, 2012 1 commit
  31. 27 Feb, 2012 1 commit