1. 21 Dec, 2010 2 commits
    • Matthias Clasen's avatar
      Add vtables for DND · c53ec081
      Matthias Clasen authored
      This commit hides GdkDragContext and GdkDragContextClass, adds
      vfuncs for most drag context functionality, and turns the X11 DND
      implementation into GdkDragContextX11. We also add vfuncs to
      GdkDisplay for gdk_drag_get_protocol and to GdkWindow for
      gdk_drag_begin, and implemenet them for X11.
      Other backends need similar treatment and are broken now.
    • Alexander Larsson's avatar
  2. 06 Dec, 2010 1 commit
  3. 02 Dec, 2010 7 commits
  4. 05 Oct, 2010 1 commit
  5. 26 Sep, 2010 4 commits
    • Benjamin Otte's avatar
      gdk: Remove gdk_window_redirect_to_drawable() · d7335837
      Benjamin Otte authored
      Also remove the reverse gdk_window_remove_redirection().
      The code was only used by the snapshotting code, and that code is dead
    • Benjamin Otte's avatar
      gdk: Rewrite background handling · 2c163369
      Benjamin Otte authored
      Now the window background is a cairo_pattern_t. The backends will try to
      set this as good as they can on the windowing system, but no guarantees
      are made on wether the windowing system supports the pattern.
      Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to
      support, and GDK_NO_BG effectively made the window's contents undefined.
      It wasn't effectively used in GTK anyway.
    • Benjamin Otte's avatar
      gdk: Remove supports_native_bg on WindowImplIface · c250b3fe
      Benjamin Otte authored
      This will not be TRUE for anything anymore, once we fix background
    • Benjamin Otte's avatar
      gdk: Remove GdkWindowImpl->clear_region · 547e2cc8
      Benjamin Otte authored
      It was only used on the X11 backend and is easier to implement locally,
      in particular when we want to allow backgrounds that X can't handle.
  6. 08 Sep, 2010 1 commit
  7. 10 Aug, 2010 1 commit
    • Benjamin Otte's avatar
      gdk: Make window moves a custom vfunc · 65ac54bb
      Benjamin Otte authored
      The window move code needs special attention for multiple reasons:
      - invalid areas for expose events need to be modified
      - self-copy is not supported by Cairo
      - in X11, copying from an overlapped Window might cause unexposed areas
        to be copied in, spo expose events for those need to be generated.
      This was all special cased in various parts of the code. By making it an
      explicit vfunc, we can work around it.
  8. 29 Jun, 2010 1 commit
  9. 25 May, 2010 1 commit
  10. 05 Nov, 2009 1 commit
  11. 02 Sep, 2009 1 commit
    • Alexander Larsson's avatar
      Add gdk_window_restack · d67a7eda
      Alexander Larsson authored
      This lets you restack a window above or below a specified sibling.
      At least eclipse wants this functionallity.
  12. 13 Aug, 2009 1 commit
    • Alexander Larsson's avatar
      Ensure that queue_translation is paired with the right X operation · 939e5522
      Alexander Larsson authored
      The X11 queue_translation operation uses NextRequest to get the serial
      of the XCopyArea operation where the translation should end. However,
      if the gc passed to gdk_draw_drawable has a non-flushed clip region
      (which it commonly has now for the window clipping) then the next
      operation will be the GC flush, not the XCopyArea.
      To handle this right we now pass in the GC to be used to
      queue_translation and ensure that it is flushed before calling
  13. 26 Jun, 2009 2 commits
  14. 16 Jun, 2009 1 commit
  15. 08 Jun, 2009 1 commit
    • Alexander Larsson's avatar
      Add gdk_window_get_root_coords · 4d54de33
      Alexander Larsson authored
      We want to be able to map any window coordinate to a root coordinate, not
      just the origin, because you can't rely anymore on a simple translation
      from window coordinates to parent with offscreen windows. This lets
      us e.g. pop up menus in the right place even if they are popped up from
      a no-window widget.
  16. 05 Jun, 2009 1 commit
  17. 29 May, 2009 1 commit
  18. 02 Apr, 2009 9 commits
  19. 01 Jul, 2008 1 commit
  20. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
              * Practically everything changed.
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      svn path=/trunk/; revision=20709
  21. 27 Jun, 2008 1 commit
    • Emmanuele Bassi's avatar
      Abstract some GdkWindow API into an interface that the backends must · e27632cd
      Emmanuele Bassi authored
      2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>
      	Abstract some GdkWindow API into an interface that the backends
      	must implement. (based on a patch by Alex Larsson)
      	* gdk/Makefile.am: Add gdkwindowimpl.[ch]
      	* gdk/gdk.symbols: Move symbols around.
      	* gdk/gdkinternals.h:
      	* gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
      	from the backends to a GInterface that the backends should implement
      	* gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
      	wrapper call around the GdkWindowImpl interface vtable.
      	* gdk/x11/gdkevents-x11.c:
      	* gdk/x11/gdkgeometry-x11.c:
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkwindow-x11.c:
      	* gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
      	the GdkWindowImpl interface.
      svn path=/trunk/; revision=20695