1. 20 May, 2021 1 commit
  2. 11 Mar, 2021 2 commits
  3. 17 Oct, 2020 1 commit
  4. 08 Oct, 2020 1 commit
    • Matthias Clasen's avatar
      gdk: Drop some unused private api · ba108f26
      Matthias Clasen authored
      No users of gdk_display_peek_event, gdk_display_has_pending
      _gdk_display_event_data_copy or _gdk_display_event_data_free,
      so drop all of these, and related vfuncs.
      ba108f26
  5. 12 Sep, 2020 1 commit
    • Matthias Clasen's avatar
      Clean up lots of GTK+ -> GTK · 929a56e5
      Matthias Clasen authored
      Replace most remaining uses of GTK+ in the docs and
      user-visible strings by GTK. Also remove some leftover
      "Was added in 3.x" sentences from the docs.
      929a56e5
  6. 21 Aug, 2020 1 commit
  7. 05 Aug, 2020 1 commit
  8. 31 Jul, 2020 1 commit
    • Carlos Garnacho's avatar
      gdk: Fix toplevel calculation on pointer grab switch · 9564cba4
      Carlos Garnacho authored
      This check used to read if (grab || device_type != GDK_DEVICE_TYPE_PHYSICAL),
      the grab check was only reserved to physical devices, which the current
      pointer device definitely doesn't act like. So the condition was "fixed" the
      wrong way around, and the latter check is now moot, so the condition should
      really go away. We always want to check the new toplevel under the pointer
      here.
      
      Fixes: #2970
      9564cba4
  9. 30 Jul, 2020 4 commits
  10. 28 Jul, 2020 2 commits
  11. 24 Jul, 2020 2 commits
  12. 23 Jun, 2020 1 commit
  13. 18 Jun, 2020 1 commit
    • Emmanuele Bassi's avatar
      Rename master and slave device · 1c856a20
      Emmanuele Bassi authored
      We already use the "logical/virtual" and "physical" names in the
      documentation, there's no reason to use loaded terms just because X11
      uses them.
      1c856a20
  14. 31 May, 2020 2 commits
    • Christoph Reiter's avatar
      Drop fallback-c89.c · 2d5cf2b4
      Christoph Reiter authored
      We require a C compiler supporting C99 now. The main purpose of
      these fallbacks was for MSVC. From what I can see this is now all supported
      by MSVC 2015+ anyway.
      
      The only other change this includes is to replace isnanf() with the
      (type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
      2d5cf2b4
    • Emmanuele Bassi's avatar
      docs: Fix annotations · 43e5ca9a
      Emmanuele Bassi authored
       - Use the same name for the argument in the declaration, definition,
         and documentation
       - Use "optional" instead of the deprecated "allow-none"
      43e5ca9a
  15. 29 May, 2020 1 commit
  16. 28 May, 2020 2 commits
  17. 19 May, 2020 1 commit
  18. 18 May, 2020 3 commits
  19. 17 May, 2020 2 commits
  20. 15 May, 2020 1 commit
  21. 13 May, 2020 2 commits
  22. 16 Apr, 2020 1 commit
    • Emmanuele Bassi's avatar
      Restructure the GdkEvent type hierarchy · f28aa1ba
      Emmanuele Bassi authored
      GdkEvent has been a "I-can't-believe-this-is-not-OOP" type for ages,
      using a union of sub-types. This has always been problematic when it
      comes to implementing accessor functions: either you get generic API
      that takes a GdkEvent and uses a massive switch() to determine which
      event types have the data you're looking for; or you create namespaced
      accessors, but break language bindings horribly, as boxed types cannot
      have derived types.
      
      The recent conversion of GskRenderNode (which had similar issues) to
      GTypeInstance, and the fact that GdkEvent is now a completely opaque
      type, provide us with the chance of moving GdkEvent to GTypeInstance,
      and have sub-types for GdkEvent.
      
      The change from boxed type to GTypeInstance is pretty small, all things
      considered, but ends up cascading to a larger commit, as we still have
      backends and code in GTK trying to access GdkEvent structures directly.
      Additionally, the naming of the public getter functions requires
      renaming all the data structures to conform to the namespace/type-name
      pattern.
      f28aa1ba
  23. 06 Apr, 2020 3 commits
  24. 14 Mar, 2020 1 commit
  25. 21 Feb, 2020 2 commits