1. 31 May, 2019 1 commit
  2. 28 May, 2019 1 commit
    • Matthias Clasen's avatar
      Drop child surfaces · 989792cb
      Matthias Clasen authored
      Drop gdk_surface_child_new and the child surface type,
      since we no longer use them. Deprecate surface apis
      that only make sense with child surfaces.
      989792cb
  3. 23 Feb, 2019 1 commit
  4. 18 Jan, 2019 1 commit
  5. 22 Dec, 2018 1 commit
    • Tomasz Miąsko's avatar
      Annotate values of PRIORITY constants · c665a1d5
      Tomasz Miąsko authored
      g-ir-scanner incorrectly evaluates macro definition that include
      references to other macro definitions. Provide a correct value as an
      annotation.
      
      Differences in generated gir files:
      
      ```diff
      @@ -19017 +19017 @@
      -    <constant name="PRIORITY_REDRAW" value="20" c:type="GDK_PRIORITY_REDRAW">
      +    <constant name="PRIORITY_REDRAW" value="120" c:type="GDK_PRIORITY_REDRAW">
      @@ -74229,3 +74229,3 @@
           </constant>
      -    <constant name="PRIORITY_RESIZE" value="10" c:type="GTK_PRIORITY_RESIZE">
      +    <constant name="PRIORITY_RESIZE" value="110" c:type="GTK_PRIORITY_RESIZE">
             <doc xml:space="preserve">Use this priority for functionality related to size allocation.
      @@ -106786,3 +106786,3 @@
           <constant name="TEXT_VIEW_PRIORITY_VALIDATE"
      -              value="5"
      +              value="125"
                     c:type="GTK_TEXT_VIEW_PRIORITY_VALIDATE">
      ```
      
      See !472
      c665a1d5
  6. 30 Jul, 2018 1 commit
  7. 16 Jul, 2018 1 commit
  8. 15 Jul, 2018 3 commits
    • Matthias Clasen's avatar
      gdk: Drop map events · 7ca6440f
      Matthias Clasen authored
      We are really inconsistent about generating these,
      and they are not actually used in GTK+. Instead,
      add a boolean GdkSurface::mapped property.
      7ca6440f
    • Matthias Clasen's avatar
      gdk: Drop expose events · da3aaf39
      Matthias Clasen authored
      Replace expose events with a GdkSurface::expose signal.
      This is part of the move to use events only for input.
      da3aaf39
    • Matthias Clasen's avatar
      gdk: Drop configure events · a8926c9d
      Matthias Clasen authored
      Replace configure events with a GdkSurface::size-changed signal.
      This is part of the move to use events only for input.
      a8926c9d
  9. 02 Jul, 2018 1 commit
    • Matthias Clasen's avatar
      dnd: Rename headers · 64f5afe6
      Matthias Clasen authored
      Rename gdkdnd.h to gdkdrag.h, to go along with gdkdrop.h
      
      This commit includes the necessary updates to the X11, Wayland
      and Broadway backends. Other backends have to be updated separately.
      64f5afe6
  10. 25 Jun, 2018 1 commit
  11. 18 Jun, 2018 1 commit
  12. 29 May, 2018 1 commit
  13. 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
  14. 07 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      Remove gdk_window_add_filter · 89f6b875
      Matthias Clasen authored
      Drop the public filtering API. The x11 backend already has
      the ::xevent signal as replacement. The win32 backend needs
      a similar signal to replace filtering.
      
      Reshuffle header inclusions in the x11 backend a little bit
      to avoid a cyclic inclusion between gdkprivate-x11.h and
      gdkdisplay-x11.h that is otherwise causing problems.
      89f6b875
  15. 06 Feb, 2018 2 commits
  16. 05 Feb, 2018 1 commit
  17. 26 Dec, 2017 3 commits
  18. 15 Dec, 2017 5 commits
  19. 14 Dec, 2017 3 commits
    • Benjamin Otte's avatar
      gdk: Remove properties · f2bb2024
      Benjamin Otte authored
      They are not used anymore.
      
      Gone with them are PropertyNotify events.
      f2bb2024
    • Carlos Garnacho's avatar
      gdk: Implement motion history as motion event data · ea216acc
      Carlos Garnacho authored
      In the motion compression phase the coalesced events will be saved
      as a GdkTimeCoord on the motion event that shall be delivered.
      
      For simplicity (and because history doesn't make much sense otherwise)
      event history is only recorded while there are buttons pressed, this
      also tidily ensures that those coalesced events would have the same
      target widget on the gtk side than the delivered one, because of
      implicit grabs.
      ea216acc
    • Carlos Garnacho's avatar
      gdk: Turn GdkEvent into a GObject · 2acbb7b0
      Carlos Garnacho authored
      Two warts remain. gdk_event_copy() should be unnecessary as
      events should be considered static after delivery, so g_object_ref()
      should be just as good. There's a few exceptional cases that the event
      is copied and then modifier for later processing, those cases should be
      reconsidered individually.
      
      And gdk_event_free() could be likewise turned into g_object_unref(),
      many callers remain though.
      2acbb7b0
  20. 13 Dec, 2017 2 commits
  21. 12 Dec, 2017 1 commit
  22. 03 Dec, 2017 1 commit
  23. 01 Nov, 2017 1 commit
  24. 31 Oct, 2017 2 commits
  25. 30 Oct, 2017 2 commits