1. 15 Apr, 2013 1 commit
    • Benjamin Otte's avatar
      gdk: Make atoms handled generically · aa9e974c
      Benjamin Otte authored
      This is another step towards making GdkDisplayManager backend-agnostic.
      Most of the backends profit from this as their atom implementations
      where generic anyway - x11 needed that to allow multiple X displays and
      broadway, quartz and wayland don't have the concept of displays.
      The X11 backend still did things, so I only #if 0'd some code but did
      not actually update anything.
  2. 27 Feb, 2012 1 commit
  3. 10 Jun, 2011 1 commit
  4. 19 Jan, 2011 1 commit
  5. 25 Nov, 2010 3 commits
  6. 16 Nov, 2010 1 commit
  7. 15 Nov, 2010 1 commit
  8. 15 Oct, 2010 1 commit
  9. 26 Sep, 2010 1 commit
  10. 10 Jul, 2010 1 commit
  11. 04 Apr, 2010 1 commit
  12. 18 Dec, 2009 1 commit
  13. 20 Aug, 2009 1 commit
  14. 06 Jun, 2009 1 commit
  15. 04 May, 2009 2 commits
  16. 02 Apr, 2009 1 commit
    • Alexander Larsson's avatar
      Initial client-side-windows work · eabac453
      Alexander Larsson authored
      The history before this was kind of twisted as several different
      approaches were tested, so that was all squashed into this initial
      commit to hide the uninteresting changes and files that were later
  17. 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
  18. 27 Dec, 2005 1 commit
  19. 11 Sep, 2005 1 commit
  20. 27 Aug, 2005 1 commit
  21. 18 May, 2005 1 commit
  22. 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
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
  23. 01 Mar, 2005 2 commits
    • Manish Singh's avatar
      Cast to avoid const warnings on data structure seeding. · de1e169e
      Manish Singh authored
      Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>
              * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
              const warnings on data structure seeding.
    • Matthias Clasen's avatar
      gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c · 6da29b43
      Matthias Clasen authored
      2005-03-01  Matthias Clasen  <mclasen@redhat.com>
      	* gdk/gdkkeyuni.c
      	* gdk/gdkpixbuf-drawable.c
      	* gdk/gdkrgb.c
      	* gdk/x11/gdkdnd-x11.c
      	* gdk/x11/gdkevents-x11.c
      	* gdk/x11/gdkproperty-x11.c
      	* gdk/x11/gdkvisual-x11.c
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gtk/gtkaction.c
      	* gtk/gtkbindings.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkcombo.c
      	* gtk/gtkcontainer.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkinputdialog.c
      	* gtk/gtkitemfactory.c
      	* gtk/gtkmenu.c
      	* gtk/gtktextview.c
      	* gtk/gtktooltips.c
      	* gtk/gtktreedatalist.c
      	* gtk/gtkuimanager.c
      	* gtk/tree_minus.xpm
      	* gtk/tree_plus.xpm
      	* gtk/xdgmime/xdgmime.c
      	* gtk/xdgmime/xdgmime.h:
      	Move constant data to .rodata.
  24. 12 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Make GDK+ compile with X11R5 (#148032) · 3b9a31df
      Matthias Clasen authored
      2004-11-12  Matthias Clasen  <mclasen@redhat.com>
      	Make GDK+ compile with X11R5 (#148032)
      	* gdk/x11/xsettings-client.c (xsettings_client_new):
      	* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
      	use XInternAtoms if it is available.
      	* gdk/x11/gdkasync.c: Include XIproto.h if necessary.
      	* configure.in: Check for XInternAtoms and X headers needed for
  25. 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
  26. 06 Mar, 2004 1 commit
  27. 12 Feb, 2004 1 commit
    • Manish Singh's avatar
      Assign xtype using gdk_x11_atom_to_xatom_for_display () when type != · 7cf055ef
      Manish Singh authored
      Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
              * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
              gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
              * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
              gdk_property_get call instead of 0.
              * docs/reference/gdk/tmpl/properties.sgml: Document the above
              as GDK_NONE instead of simply 0.
  28. 11 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Fix misleading debug output. · 06d35613
      Matthias Clasen authored
      Thu Feb 12 00:37:00 2004  Matthias Clasen  <maclas@gmx.de>
      	* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading
      	debug output.
  29. 10 Feb, 2004 1 commit
    • Owen Taylor's avatar
      Avoid triggering an X error when the client->manager_window is · 351ebd8b
      Owen Taylor authored
      Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/xsettings-client.c (read_settings): Avoid
              triggering an X error when the client->manager_window
              is None...makes logs look cleaner.
              * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
              GDK_NONE to mean AnyPropertyType as documented. (Reported
              by Yu Shao)
              * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
              gdk_x11_screen_get_window_manager_name): Fix error trap
              we've been leaking since 2002... (#129538)
  30. 05 Jul, 2003 2 commits
    • Owen Taylor's avatar
      Lookup all the atoms in the target list at once. · ba999da1
      Owen Taylor authored
      Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
              all the atoms in the target list at once.
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
              Local drag short-circuit.
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
              local case, poke the actions in directly instead of
              going through xdnd_set_actions.
              * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
              the local case.
              * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
              XSelectInput()/add a filter if the drag is local.
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection):
              Simplify handling of "XdndSelection".
              * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow,
              a WM_STATE => _NET_WM_STATE change hand been made here.
              * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
              xatom_names, not atom_names.
              * tests/testdnd.c (target_drag_motion): Make the trashcan
              open again. (Got lost in deprecation cleanup.)
    • Owen Taylor's avatar
      Use asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap · 9bedbf66
      Owen Taylor authored
      Fri Jul  4 15:57:52 2003  Owen Taylor  <otaylor@redhat.com>
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
      	Use asynchronously _gdk_x11_set_input_focus_safe
      	to avoid having to trap errors and XSync().
      	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
      	_gdk_x11_set_input_focus_safe() here as well.
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
      	Rework handling of property notifies on _NET_WM_STATE
      	so that we ignore _NET_WM_DESKTOP notifies unless we
      	really care.
      	* gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
      	XShmQueryExtension() rather than XQueryExtension() to
      	avoid extra rountrip.
      	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
      	Remove unused call to XGetWindowAttributes()
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
      	unused call to XGetKeyboardControl().
      	* gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
      	Add (#99571)
      	* gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c
      	No-op implementations of gdk_display_flush().
      	* gdk/gdkwindow.c (gdk_window_process_all_updates): Use
      	gdk_display_flush() rather than gdk_flush() to avoid
      	* gdk/x11/gdkwindow-x11.c (update_wm_hints)
      	gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
      	so that we don't have to get the property back from the server.
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Store
      	the serial of when we map a toplevel to allow optimizing
      	out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
      	XTranslateCoordinates() for override-redirect windows.
      Fri Jul  4 15:59:27 2003  Owen Taylor  <otaylor@redhat.com>
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
      	about setting window group after the window is mapped from docs
      	- nothing the ICCCM forbids that.
      	* gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
      	Fix g_return_val_if_fail() in void return function.
      	* configure.in: Fix misplaced comma that was resulting
      	in XShm always being disabled.
  31. 28 Nov, 2002 1 commit
  32. 01 Aug, 2002 1 commit
    • 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
      	* 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,
      	* 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.
  33. 20 Jun, 2002 1 commit
    • 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
  34. 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
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              * 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
              * 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.
  35. 25 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Convert over to using an GtkInvisible - selections don't work properly · 3ce82058
      Owen Taylor authored
      Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>
      	* tests/testselection.c (main): Convert over to using
      	an GtkInvisible - selections don't work properly
      	with now NO_WINDOW GtkToggleButton. (Example really
      	should be using GtkClipboard.)
      	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
      	Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Set
      	actual_length when converting atoms as well.
      	(Gregory Merchan, #72074)