1. 04 Apr, 2010 1 commit
  2. 28 Sep, 2009 2 commits
  3. 27 Aug, 2009 2 commits
  4. 24 Aug, 2009 1 commit
    • Alexander Larsson's avatar
      Add support for enabling only native windows · a79f929d
      Alexander Larsson authored
      Some applications make weird assumtions on Gtk+ that do not work anymore
      with the new client-side windows support. For instance SWT/Eclipse reorders
      the stacking order of the X windows directly without telling gdk this,
      which breaks gdk drawing as gdk now relies on knowing the stacking order
      for window clipping.
      This introduces a GDK_NATIVE_WINDOWS environment variable, which if set
      causes Gtk+ to always use native windows. Its more compatible with
      pre-csw Gtk+ behaviour if you do weird X-specific hacks, although it does
      limit the size of GdkWindows to 65535x65535.
  5. 10 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Manually update toplevel_under_pointer when a grab changes to owner_events · ccb09d1c
      Alexander Larsson authored
      When we ungrab the pointer we don't get enter events for the window the
      pointer is in at the time of the ungrab, so we manually query for the
      window the pointer is in. The same thing actually happens on re-grab if
      the previous grab was !owner_events (meaning we don't get crossing events
      for windows other than the grab) but the new grab is owner_events (and
      thus non-grab windows need to get crossing events).
      This factors out some common code and enables it also for the re-grab
      to owner_events case.
  6. 09 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Correctly set enter/leave events as detail=nonlinear · 9044ec9b
      Alexander Larsson authored
      If we get a nonlinear enter/leave notify on the toplevel we need
      to set nonlinear in all the events we send, even if the in-toplevel
      tree is linear.
      This fixes combobox menus popping down immediately when you click
      (not hold). (bug #587559)
  7. 07 Jul, 2009 1 commit
  8. 01 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Clean up embedding api · 10bf7ca7
      Alexander Larsson authored
      we now use gdk_offscreen_window_set_embedder() instead of a signal
      to get the parent. This also replaces set_has_offscreen_changes.
      Rename "parent" in all embedding related names to "embedder" to make it
      more obviously different than the normal parent.
      Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap
      to match the other offscreen calls.
      Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed
      as this is more descriptive.
  9. 24 Jun, 2009 1 commit
  10. 19 Jun, 2009 1 commit
  11. 18 Jun, 2009 1 commit
  12. 08 Jun, 2009 1 commit
    • Alexander Larsson's avatar
      Update event emulation to handle offscreen children · a8549898
      Alexander Larsson authored
      We use the offscreen signals for getting parent, picking
      children at a point and mapping coordinates between windows
      embedding offscreens and offscreens.
      This means we have two hierarchies more or less, one visible to apps via
      the standard APIs and for drawing where the offscreens are their own
      separate toplevels, and another one for event handling where embedded
      offscreens appear as if they were children of the embedding window.
  13. 05 Jun, 2009 2 commits
  14. 02 Apr, 2009 13 commits
  15. 08 Dec, 2008 1 commit
  16. 07 Sep, 2008 1 commit
  17. 01 Jul, 2008 1 commit
  18. 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
  19. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      svn path=/trunk/; revision=20669
  20. 15 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h · 8243e3d4
      Michael Natterer authored
      2008-01-15  Michael Natterer  <mitch@imendio.com>
      	* gdk/gdkdisplay.h
      	* gdk/gdkdrawable.h
      	* gdk/gdkevents.h
      	* gdk/gdkpango.h
      	* gdk/gdkregion.h
      	* gdk/gdkrgb.h
      	* gdk/gdkwindow.h: made more struct pointer and array parameters
      	const. GDK should now be constified as far as possible without
      	breaking source compatibility. Includes some minor cleanup like
      	indentation and s/nfoo/n_foo/ (bug #508544).
      	* gdk/gdkdisplay.c
      	* gdk/gdkdraw.c
      	* gdk/gdkevents.c
      	* gdk/gdkpango.c
      	* gdk/gdkregion-generic.c
      	* gdk/gdkrgb.c
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkdisplay-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkdisplay-x11.c
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      svn path=/trunk/; revision=19372
  21. 21 Dec, 2006 1 commit
  22. 14 May, 2006 1 commit
  23. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Use G_DEFINE_TYPE. · 10f0736a
      Matthias Clasen authored
      2006-04-04  Matthias Clasen  <mclasen@redhat.com>
      	* gdk/gdkdisplay.c:
      	* gdk/gdkdisplaymanager.c:
      	* gdk/gdkdraw.c:
      	* gdk/gdkkeys.c:
      	* gdk/gdkpixmap.c:
      	* gdk/gdkscreen.c:
      	* gdk/gdkwindow.c:
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdisplay-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkdrawable-x11.c:
      	* gdk/x11/gdkgc-x11.c:
      	* gdk/x11/gdkimage-x11.c:
      	* gdk/x11/gdkinput.c:
      	* gdk/x11/gdkpixmap-x11.c:
      	* gdk/x11/gdkscreen-x11.c:
      	* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkimage-x11.c: Use instance private data.
  24. 10 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
  25. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().