1. 08 Dec, 2008 1 commit
  2. 07 Sep, 2008 1 commit
  3. 01 Jul, 2008 1 commit
  4. 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
      fce9c8b7
  5. 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
      d97cdbdf
  6. 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
      8243e3d4
  7. 21 Dec, 2006 1 commit
  8. 14 May, 2006 1 commit
  9. 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.
      10f0736a
  10. 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.
      8bdc0bf9
  11. 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().
      94eec042
  12. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · 476e138d
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
      	* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
      	* gdk/x11/gdkinput.c (gdk_device_get_type):
      	* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
      	* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
      	* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
      	* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
      	* gdk/gdkwindow.c (gdk_window_object_get_type):
      	* gdk/gdkscreen.c (gdk_screen_get_type):
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type):
      	* gdk/gdkpixmap.c (gdk_pixmap_get_type):
      	* gdk/gdkkeys.c (gdk_keymap_get_type):
      	* gdk/gdkfont.c (gdk_font_get_type):
      	* gdk/gdkevents.c (gdk_event_get_type):
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
      	* gdk/gdkdisplay.c (gdk_display_get_type):
      	* gdk/gdkcursor.c (gdk_cursor_get_type):
      	* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
      	registering the type to avoid unnecessary copies.
      476e138d
  13. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d
  14. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
  15. 10 May, 2004 1 commit
    • Matthias Clasen's avatar
      Make static. · db167a4a
      Matthias Clasen authored
      2004-05-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.c (singlehead_...):
      	* gdk/x11/gdkkeys-x11.c (get_effective_keymap):
      	* gdk/x11/gdkgeometry-x11.c (expose_serial_predicate):
      	* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.
      db167a4a
  16. 06 Mar, 2004 1 commit
  17. 22 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Fix bug 134982, reported by Morten Welinder: · e9a92e6e
      Matthias Clasen authored
      Mon Feb 23 00:38:21 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix bug 134982, reported by Morten Welinder:
      
      	* gtk/gtkpathbar.c (gtk_path_bar_destroy):
      	* gtk/gtktooltips.c (gtk_tooltips_destroy):
      	* gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the
      	parent's ::destroy handler.
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the
      	parent's ::dispose handler.
      e9a92e6e
  18. 16 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Do not interpret distant clicks as double-clicks (#116541, Bernhard · fbb0ba1a
      Matthias Clasen authored
      Tue Dec 16 01:46:46 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Do not interpret distant clicks as double-clicks  (#116541,
      	Bernhard Walle):
      
      	* gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
      	double_click_distance, button_x and button_y.
      	* gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.
      
      	* gdk/gdkdisplay.h:
      	* gdk/gdkevents.c (gdk_display_set_double_click_distance):
      	New function to set the double click distance on a display.
      
      	* gdk/gdkevents.c: Take double click distance into account
      	when generating single, double or triple clicks.
      
      	* gtk/gtksettings.c: Add new setting "gtk-double-click-distance".
      
      	* gdk/x11/gdkevents-x11.c: Add the XSetting
      	"Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
      fbb0ba1a
  19. 30 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Document the "direction-changed" and "keys-changed" signals. · f582c04a
      Matthias Clasen authored
      2003-09-30  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkkeys.c (gdk_keymap_class_init): Document the
      	"direction-changed" and "keys-changed" signals.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): Document the
      	"size-changed" signal.
      
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
      	Document the "display-opened" signal.
      
      	* gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
      	(gdk_display_class_init): Document the "closed" signal.
      
      	* gdk/tmpl/keys.sgml: Small addition.
      
      	* gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass.
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
      f582c04a
  20. 09 Jul, 2003 1 commit
    • Kristian Rietveld's avatar
      Merge from stable. · 8aafd6bb
      Kristian Rietveld authored
      Wed Jul  9 19:48:26 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merge from stable.
      
      	* gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't
      	directly return from ->window_at_pointer, but set win_x and win_y
      	first if needed. (Fixes #110166, reported by Arno Charlet).
      
      	* gdk/gdkwindow.c (gdk_window_get_composite_drawable): change
      	function to accept GdkDrawables and not just GdkWindows. This was
      	already done in some other functions a while back, but this patch
      	got lost for some reason.
      8aafd6bb
  21. 28 Nov, 2002 1 commit
  22. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  23. 11 Oct, 2002 1 commit
  24. 07 Oct, 2002 1 commit
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec
  25. 30 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Set the client ID on all displays. (#85713) · 2d385b9b
      Owen Taylor authored
      Mon Sep 30 15:31:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.c gdk/x11/gdkdisplay-x11.c
              gdk/gdkinternals.h: Set the client ID on all
              displays. (#85713)
      
              * gdk/gdkdisplay.h gkd/gdkinternals.h
               gdk/{linux-fb,win32,x11}/gdkmain-{fb,win32,x11}.c
              Privatize gdk_display_set_sm_client_id().
      2d385b9b
  26. 25 Sep, 2002 2 commits
    • Havoc Pennington's avatar
      fix GtkWindowMnemonic to have a separate typedef · 1689117c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
      	typedef
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
      	FULLSCREEN state
      
      	* tests/testgtk.c (get_state_controls): add
      	fullscreen/unfullscreen test
      
      	* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
      	variable
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
      	variable
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_window_manager_changed): emit
      	window_manager_changed signal
      
      	* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
      	window_manager_changed signal
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_get_window_manager_name): new function
      
      	* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
      	skip_taskbar_hint, skip_pager_hint properties
      	(gtk_window_set_skip_taskbar_hint):
      	(gtk_window_get_skip_taskbar_hint):
      	(gtk_window_set_skip_pager_hint):
      	(gtk_window_get_skip_pager_hint):
      	(gtk_window_fullscreen):
      	(gtk_window_unfullscreen): new functions
      
      	* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
      
      	* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
      	values
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
      	(gdk_window_set_skip_pager_hint):
      	(gdk_window_fullscreen):
      	(gdk_window_unfullscreen): new functions
      	(set_initial_hints): set fullscreen here if appropriate
      1689117c
    • Manish Singh's avatar
      add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile · 234e191c
      Manish Singh authored
      Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
              and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
      
              * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
              gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
              gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c
              gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
              gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
              gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
              gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
              gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
              gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
              gdk_foo_{ref,unref} to g_object equivalents.
      234e191c
  27. 24 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Change the window parameter for · 50fdb4d7
      Owen Taylor authored
      Tue Sep 24 05:26:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c
              gdk/x11/gdkevents-x11.c  gdk/win32/gdkevents-win32.c:
              Change the window parameter for
              gdk_event_send_client_message[_for_display] from guint32
              to GdkNativeWindow. (#79979)
      50fdb4d7
  28. 12 Aug, 2002 1 commit
    • Matthias Clasen's avatar
      Remove gdk_screen_close, add a section for GdkDisplayManager, add · 592818d9
      Matthias Clasen authored
      	* gdk/gdk-sections.txt: Remove gdk_screen_close, add a section
      	for GdkDisplayManager, add gdk_visual_get_screen and
      	gdk_colormap_get_screen.
      	* gdk/gdkdisplaymanager.c:
      	* gdk/gdkdisplay.c (gdk_pointer_ungrab): Fix doc comments.
      
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_screen):
      	* gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Make parameter
      	names match those in the header file, to silence gtk-doc.
      592818d9
  29. 01 Aug, 2002 2 commits
    • Owen Taylor's avatar
      New demo for window migration between different displays and screens. · 63489392
      Owen Taylor authored
      Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/changedisplay.c: New demo for
      	window migration between different displays and screens.
      
      	* gtk/gtkrc.c gtkstyle.[ch]: Add
      	_gtk_style_init_for_settings(), so that gtkrc.c
      	can initialize the styles it creates for the
      	right display.
      
      	* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
      	* gtk/gtksettings.c (gtk_settings_get_default)
      	* gtk/gtkstyle.c (gtk_style_init): Handle absence of
      	a default screen.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
      	Handle display == NULL.x
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Free the
      	event queue.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
      	Remove the event source when closing a display.
      
      	* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
      	isn't convenient enough by itself.
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
      	Create foreign windows for watch windows if there isn't
      	an existing window, instead of installing a global filter.
      
      	* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
      	Clean up the xsettings_client when we are done with
      	it.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
      	excess call to _gdk_x11_events_init_screen()
      63489392
    • Owen Taylor's avatar
      Start implementing display/screen closing scheme; keep a flag for whether · e5ae081e
      Owen Taylor authored
      Thu Aug  1 11:26:03 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:
      	Start implementing display/screen closing scheme; keep a
      	flag for whether displays and screens are closed,
      	call g_object_run_dispose(). Remove public gdk_screen_close().
      
      	* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add
      	dispose() methods; move appropriate parts of the finalize
      	there.
      
      	* gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c
      	gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c
      	gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c
      	gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c:
      	Start of making everything correctly ignore operations
      	when a display has been closed.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
      	Handle decorations == NULL.
      
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_remove):
      	Remove unnecessary hash table creation.
      
      	* gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c
      	Fix up gdk_device_get_history - handle events, n_events == NULL,
      	etc.
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get):
      	Handle failure better.
      
      	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
      	Handle failure better, handle data == NULL, move docs
      	here, remove an excess round trip by asking for
      	all selection data at once.
      
      	* gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c
      	  gdk/{x11,win32}/gdkmain-{x11,win32}.c	gdk/gdkdisplay.c: Move
      	gdk_text_property_to_text_list(), gdk_string_to_compound_text(),
      	gdk_display_set_sm_client_id() to display-independent part of GDK.
      
      	* gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch]
      	into the right place.
      e5ae081e
  30. 20 Jun, 2002 2 commits
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
    • Owen Taylor's avatar
      Add a singleton object that we can use to get notification when displays · 5830bf89
      Owen Taylor authored
      Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
              gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
              gdk/win32/gdkdisplay-win32.c: Add a singleton object that
              we can use to get notification when displays
              appear / disappear or the default display changes.
      
              gdk_set_default_display() => gdk_display_manager_set_default_display()
              gdk_list_displays() => gdk_display_manager_list_displays().
              (#85696)
      
              * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
              generation.
      
              * gdk/gdkintl.h: Add this.
      
              * gtk/gtkmain.c: Add gtk_parse_args() that initializes
              GTK+ without opening a display.
      
              * gtk/gtkmain.c: Set things up so if a module
              exports gtk_module_init() and gtk_module_display_init(),
              then we treat it as multihead aware, otherwise,
              we only initialize it after the default display is set.
      5830bf89
  31. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Make the core pointer object per-display. (#85698) · 1abf7df6
      Owen Taylor authored
      Tue Jun 18 19:11:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h
              gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
              gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
              gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
              Make the core pointer object per-display. (#85698)
      1abf7df6
  32. 06 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Changes multihead reorganizing code for win32 support, mostly from a patch · aeaaae04
      Owen Taylor authored
      Wed Jun  5 18:34:47 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Changes multihead reorganizing code for win32 support,
      	mostly from a patch by Hans Breuer.
      
      	* gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
      	  gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
      	  gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
      	  gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
      	  gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
      	  gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
      	  gdk/x11/gdkpango-x11.c gdk/gdkselection.c
      	  gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
      	  gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
      	  Move port-independent singlehead wrapper functions into
      	  port-independent part of GDK. (#80009)
      
      	* gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
      	  gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
      	  gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
      	  gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
      	  gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c:
      	Turn singlehead functions into "multihead" functions that ignore
      	their GdkDisplay or GdkScreen arguments.
      
      	* gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
      	gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h:
      	Misc multihead-compatibility changes.
      
      	* gtk/gtk.def gdk/gdk.def: Update for multihead functions.
      
      	* gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c
      	gdk/x11/gdkvisual-x11.c: Remove the screen fields
      	from the public parts of the colormap/visual structures, add accessors
      	instead.
      
      	* gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
      	  gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
      	  gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
      	  gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
      	for colormaps, visuals; move the fields into the private
      	structures for the x11 backend.
      
      	* gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	  gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c:
      	Remove virtualization of screen and display functions.
      	(#79990, patch from Erwann Chenede)
      
      	* gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
      	gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
      	New files containing stub implementations of Display,
      	Screen functions.
      
      	* gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	gdk/x11/gdkx.h: Clean up function exports and what
      	headers they are in. (#79954)
      
      	* gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
      	screen->screen_num. (In the patch for #79972, Erwann Chenede)
      
      	* gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
      	 gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
      	to use window hooks. (#79972, patch partly from Erwann Chenede)
      
      	* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
      	some warnings.
      aeaaae04
  33. 30 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Doc fixes. · 3e8df3c3
      Alexander Larsson authored
      Tue Apr 30 12:28:27 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.c gdk/gdkpango.c gdk/gdkpixmap.c
              gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c
              gdk/x11/gdkpixmap-x11.c gdk/x11/gdkx.h: Doc fixes.
      
      Tue Apr 30 11:37:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/gtkimcontextxim.c: Make multihead-safe;
              use a different IM context per display.
      
      	* configure.in acconfig.h: Add Xinerama checks from
              multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA.
      
              * gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
              Use tmp also if foreground is set.
      3e8df3c3
  34. 26 Apr, 2002 1 commit
    • Anders Carlsson's avatar
      Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in a · 6a23f52f
      Anders Carlsson authored
      2002-04-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display):
      	Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since
      	we pass in a GdkDisplay * in the macro.
      
      2002-04-26  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/gdkdisplay.c: (gdk_set_default_display):
      	Call _gdk_windowing_set_default_display.
      
      	* gdk/gdkinternals.h:
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display):
      	New function that sets gdk_display to the default display.
      	Fixes #79965
      6a23f52f
  35. 25 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Start of integration of Erwann Chenede's multihead work from the · 425b9886
      Owen Taylor authored
      Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Start of integration of Erwann Chenede's multihead work
              from the gtk-multihead branch.
      
              * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
              gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
              New classes representing a set of screens with attached
              input devices and a single contiguous area, respectively.
      
              * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
              gdk/x11/gdkprivate-x11.h: Make the initialization interface
              simple _gdk_windowing_init() and do the rest in
              gdk_open_display() calls.
      
              * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
              to do the display-independent part of initialization
              instead of gdk_init_[check].
      
              * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
              gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
              Add multihead variants (_for_display(), for_screen()) of functions
              getting information specific to a particular screen screen or
              display.
      
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              objects.
      
              * gdk/x11/gdkx.h: Add functions for converting GdkScreen
              and GdkDisplay into the X equivalents.
      
              * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
              not in the headers and unused.
      
              * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
              Remove gxid support ... has not been tested for a long time...
              "xfree" support is more portable to non XFree86.
      
              * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
              used to turn off functions that are inherently non-multihead
              safe.
      
              * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
              are used in non-multihead-safe ways.
      
              * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
              multihead safe.
      425b9886