1. 29 Mar, 2019 1 commit
  2. 18 Dec, 2018 1 commit
    • Peter Hutterer's avatar
      x11: make the tool lookup dependent on the hw id as well · 38cba689
      Peter Hutterer authored
      Tools on the same physical item have the same serial number, so the eraser
      and the pen part of a single pen share that serial number. With the current
      lookup code, we'll always return whichever tool comes first into proximity.
      
      Change the code to use the hw id in addition to the serial number, this way we
      can differ between two tools.
      38cba689
  3. 29 May, 2018 1 commit
  4. 20 Mar, 2018 2 commits
    • Alexander Larsson's avatar
      GdkSurface: Rename lots of stuff from window->surface · 3dce0dcc
      Alexander Larsson authored
      Mostly these are internal things, but the major public change is
      that event.window is now event.surface.
      3dce0dcc
    • Alexander Larsson's avatar
      GdkWindow -> GdkSurface initial type rename · 391727bd
      Alexander Larsson authored
      This renames the GdkWindow class and related classes (impl, backend
      subclasses) to surface. Additionally it renames related types:
      GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType,
      GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge
      
      This is an automatic conversion using the below commands:
      
      git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass
      
      git sed -f g GdkWindow GdkSurface
      git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing
      git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING
      git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2"
      git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE
      git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo
      
      git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE"
      git sed -f g "broadway_window" "broadway_surface"
      git sed -f g "BroadwayWindow" "BroadwaySurface"
      git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE"
      git sed -f g "wayland_window" "wayland_surface"
      git sed -f g "WaylandWindow" "WaylandSurface"
      git sed -f g "X11_WINDOW" "X11_SURFACE"
      git sed -f g "x11_window" "x11_surface"
      git sed -f g "X11Window" "X11Surface"
      git sed -f g "WIN32_WINDOW" "WIN32_SURFACE"
      git sed -f g "win32_window" "win32_surface"
      git sed -f g "Win32Window" "Win32Surface"
      git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE"
      git sed -f g "quartz_window" "quartz_surface"
      git sed -f g "QuartzWindow" "QuartzSurface"
      
      git checkout NEWS* po-properties
      391727bd
  5. 08 Dec, 2017 2 commits
  6. 27 Nov, 2017 1 commit
  7. 06 Oct, 2017 1 commit
    • Benjamin Otte's avatar
      build: Enable -Wswitch-enum and -Wswitch-default · 43c212ac
      Benjamin Otte authored
      This patch makes that work using 1 of 2 options:
      
      1. Add all missing enums to the switch statement
        or
      2. Cast the switch argument to a uint to avoid having to do that (mostly
         for GdkEventType).
      
      I even found a bug while doing that: clearing a GtkImage with a surface
      did not notify thae surface property.
      
      The reason for enabling this flag even though it is tedious at times is
      that it is very useful when adding values to an enum, because it makes
      GTK immediately warn about all the switch statements where this enum is
      relevant.
      And I expect changes to enums to be frequent during the GTK4 development
      cycle.
      43c212ac
  8. 20 Sep, 2017 1 commit
    • Daniel Boles's avatar
      gdkseatdefault: Grab touch events where applicable · 9c7e996b
      Daniel Boles authored
      gdk_seat_default_grab() grabs POINTER_EVENTS if the capability is
      GDK_SEAT_CAPABILITY_ALL_POINTING. But that enumerator is a union that
      includes GDK_SEAT_CAPABILITY_TOUCH, but we never grabbed TOUCH_EVENTS,
      an unused macro that was presumably created with this purpose in mind.
      
      So, check which of the ALL_POINTING capabilities we have, and set the
      right mask of POINTER_EVENTS and/or TOUCH_EVENTS as required.
      
      As part of this, explicitly let TABLET_STYLUS take over pointer events,
      as this is the intended behaviour and was the effective result before.
      
      This should fix touch events being lost in migrating from Device.grab()
      to Seat.grab(GDK_SEAT_CAPABILITY_ALL_POINTING), as found by Inkscape.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=781757
      9c7e996b
  9. 26 Oct, 2016 2 commits
  10. 09 Apr, 2016 1 commit
  11. 06 Apr, 2016 1 commit
  12. 28 Feb, 2016 1 commit
  13. 25 Feb, 2016 1 commit
    • Matthias Clasen's avatar
      x11: Update seat capabilities · e1266337
      Matthias Clasen authored
      The default seat implementation was never returning capabilities,
      which is broken. It is visible too, since the inspector shows seat
      information now.
      e1266337
  14. 14 Dec, 2015 1 commit