1. 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
  2. 03 Feb, 2005 1 commit
    • Owen Taylor's avatar
      Add gdk_drawable_set_cairo_target(). · 93344f6d
      Owen Taylor authored
      2005-02-03  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
              gdk_drawable_set_cairo_target().
      
              * tests/testtreeflow.c (enum): Use grand not rand as a variable
              name because one of the cairo headers is pulling in stdlib.h.
      
              * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
              example.
      
              * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
      
              * Require libpangocairo for all backends.
      93344f6d
  3. 25 Jan, 2005 1 commit
  4. 20 Jan, 2005 2 commits
  5. 19 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Precache the _NET_VIRTUAL_ROOTS atom. · fbe8255d
      Matthias Clasen authored
      2005-01-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
      	atom.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
      	Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
      fbe8255d
  6. 18 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Add pointer warping to GDK. (#160437) · 3f8461b7
      Matthias Clasen authored
      2005-01-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
      	* gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
      	pointer warping to GDK.  (#160437)
      
      	* gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
      3f8461b7
  7. 22 Dec, 2004 1 commit
    • Søren Sandmann's avatar
      Add sensitivity-changing timeout. Written by Christian Persch. · 63f2fd96
      Søren Sandmann authored
      Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
      	timeout. Written by Christian Persch.
      
      Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	Bug #161561
      
      	* gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
      	background for windows that get expose events.
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
      	hack to repaint !expose windows.
      63f2fd96
  8. 17 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Squash strict aliasing warnings. · f266788e
      Owen Taylor authored
      Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
              Squash strict aliasing warnings.
      f266788e
  9. 09 Nov, 2004 1 commit
  10. 28 Oct, 2004 1 commit
  11. 18 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #155658, Sebastian Bacher: · 1a8e3a70
      Matthias Clasen authored
      2004-10-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #155658, Sebastian Bacher:
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new
      	is_leader flag.
      
      	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on
      	leader windows even if they are withdrawn.
      	(gdk_window_set_group): Mark the new leader window as such. We
      	never remove the flag again, but that should a) be vanishingly
      	rare and b) not a problem, since the flag just turns off an
      	optimization.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default
      	leader window as such.
      1a8e3a70
  12. 05 Oct, 2004 1 commit
  13. 23 Aug, 2004 3 commits
    • Matthias Clasen's avatar
      Make it compile. · 2d2d3e4b
      Matthias Clasen authored
      2d2d3e4b
    • Matthias Clasen's avatar
      Add a user_time field. · a9585748
      Matthias Clasen authored
      2004-08-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a
      	user_time field.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update
      	toplevel->user_time.
      	(show_window_internal): Update the user time when re-mapping a
      	toplevel window.  (#150502, Elijah Newren)
      a9585748
    • Matthias Clasen's avatar
      Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message · 31b68194
      Matthias Clasen authored
      2004-08-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
      	EWMH additions to the _NET_ACTIVE_WINDOW client message
      	format.  (#150668, Elijah Newren)
      31b68194
  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. 05 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      Call gdk_window_enable_synchronized_configure() · ed44e79c
      Soeren Sandmann authored
      Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkplug.c (gtk_plug_realize): Call
      	gdk_window_enable_synchronized_configure()
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
      	noop if gdk_window_enable_synchronized_configure() has not been
      	called.
      ed44e79c
  16. 02 Aug, 2004 1 commit
  17. 31 Jul, 2004 1 commit
  18. 12 Jul, 2004 2 commits
    • Soeren Sandmann's avatar
      Do an empty begin_paint_region()/end_paint() for windows without · dddab53b
      Soeren Sandmann authored
      Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
      	empty begin_paint_region()/end_paint() for windows without
      	EXPOSURE_MASK.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
      	_gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
      dddab53b
    • Matthias Clasen's avatar
      Include the update_counter check in the HAVE_XSYNC condition, since · 027bbe0f
      Matthias Clasen authored
      Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
      	Include the update_counter check in the HAVE_XSYNC condition,
      	since update_counter isn't present in the !HAVE_XSYNC case.
      027bbe0f
  19. 11 Jul, 2004 1 commit
    • Soeren Sandmann's avatar
      Bug 143330, support update counter spec. · 1a5e92dd
      Soeren Sandmann authored
      Sun Jul 11 15:24:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Bug 143330, support update counter spec.
      
      	* configure.in: Add check for the Sync extension
      
      	* gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and
      	gdk_window_configure_finished()
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure().
      	* gtk/gtkwindow.c (gtk_window_realize): Automatically enable
      	synchronized configures.
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current
      	and pending counter values.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function.
      	* gdk/x11/gdkwindow-x11.c
      	(gdk_window_enable_synchronized_configure): New function.
      	* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
      	Delete update counter.
      	* gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise
      	_NET_WM_SYNC_REQUEST when Sync is available
      
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle
      	_NET_WM_SYNC_REQUEST messages
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter
      	value for use by gdk_window_configure_finished() when receiving
      	ConfigureNotifies.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync
      	extension is available
      	* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and
      	_NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms.
      
      	* gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add
      	stubs for enable_synchronized_configure() and configure_finished()
      1a5e92dd
  20. 09 Jul, 2004 4 commits
    • Soeren Sandmann's avatar
      Insert checks for root window. The root window is never mapped. · 1c5a1dda
      Soeren Sandmann authored
      Sat Jul 10 01:55:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg):
      	Insert checks for root window. The root window is never mapped.
      1c5a1dda
    • Soeren Sandmann's avatar
      Fix a warning Actually unset bg. · d7da887e
      Soeren Sandmann authored
      Sat Jul 10 01:06:05 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset
      	bg.
      d7da887e
    • Soeren Sandmann's avatar
      Bug 113310. · 69ab514a
      Soeren Sandmann authored
      Sat Jul 10 00:37:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Bug 113310.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
      	New functions that can do a recursive unset/reset bg.
      
      	* gdk/x11/gdkgeometry-x11.c: Remove
      	gdk_window_tmp_{un|re}set_bg().
      
      	* gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
      	called before and after unmapping a window. They unset the
      	background of all other windows to prevent flicker from the X
      	server repainting the background. post_unmap() also invalidates
      	the parent of the unmapped window to draw it without roundtrips.
      
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
      	background of newly mapped windows and all desendants to prevent
      	flicker.
      69ab514a
    • Soeren Sandmann's avatar
      Add an "override_redirect" bit. · 8889f2b4
      Soeren Sandmann authored
      Fri Jul  9 23:26:09 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
      	"override_redirect" bit.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize,
      	gdk_window_move_resize):
      	Update the local size/position cache
      	immediately for override redirect windows.
      
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate
      	newly mapped child and override redirect windows.
      8889f2b4
  21. 07 Jul, 2004 1 commit
  22. 26 Jun, 2004 1 commit
  23. 06 May, 2004 1 commit
    • Elijah Newren's avatar
      Changes to support do-not-focus-on-map hint in conjunction with · 5502f77e
      Elijah Newren authored
      2004-05-05  Elijah Newren  <newren@math.utah.edu>
      
      	Changes to support do-not-focus-on-map hint in conjunction with
      	_NET_WM_USER_TIME (#115650):
      
      	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
      	field focus_on_map
      
      	* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
      	set it.
      
      	* gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
      	and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_new):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new):
      	Initialize the focus_on_map field to TRUE.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map):
      	* gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
      	Implementations for the various backends. The Win32 and linux-fb
      	implementations set the focus_on_map field, but don't use it yet
      	to actually implement noinput windows. The X implementation sets
      	_NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).
      
      	* gdk/x11/gdkwindow-x11.h:
      	* gdk/x11/gdkevents-x11.c (set_user_time):
      	* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
      	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time):
      	s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
      	since we want that function to be part of the public API.
      5502f77e
  24. 18 Apr, 2004 1 commit
    • Soeren Sandmann's avatar
      Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah Newren. · 730da6f8
      Soeren Sandmann authored
      Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
      	Newren.
      
      	* gdk/x11/gdkwindow-x11.[ch]: Add new internal function
      	_gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
      
      	* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
      	precached atoms.
      
      	* gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
      	property on user interaction.
      730da6f8
  25. 13 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Make this a total no-op when the new or old parent is destroyed. (#134230, · ef5915da
      Owen Taylor authored
      Sat Mar 13 12:17:16 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Make
              this a total no-op when the new or old parent is
              destroyed. (#134230, patch from Soeren Sandmann)
      
              * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy):
              For foreign windows in our heirarchy, call
              _gdk_windowing_window_destroy_foreign (window) and skip
              all the normal destruction logic.
      
              * gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c:
              Move code to request destruction of a foreign window
              code into a separate _gdk_windowing_window_destroy_foreign().
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize):
              Call GDK_WINDOW_DISPLAY() on the wrapper not on the
              impl. (Also from Soeren's patch)
      ef5915da
  26. 06 Mar, 2004 1 commit
  27. 26 Feb, 2004 1 commit
  28. 02 Feb, 2004 1 commit
  29. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  30. 22 Jan, 2004 1 commit
    • Alexander Larsson's avatar
      Fix typo · 465d6e35
      Alexander Larsson authored
      2004-01-22  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (WINDOW_IS_TOPLEVEL):
      	Fix typo
      465d6e35
  31. 21 Dec, 2003 1 commit
    • Soeren Sandmann's avatar
      Set the right properties when the window becomes a toplevel. When a window · d2e744ca
      Soeren Sandmann authored
      Sun Dec 21 17:34:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right
      	properties when the window becomes a toplevel. When a window that
      	was previously a toplevel becomes a toplevel again, restore its
      	window type. Also make sure the focus window is removed from the
      	XID hash when it is destroyed. (#117579, reported by Morten
      	Welinder, patch reviewed by Owen Taylor).
      d2e744ca
  32. 10 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Changes to allow "no input" windows (#64613): · 5fb61f30
      Matthias Clasen authored
      Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to allow "no input" windows (#64613):
      
      	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
      	field accept_focus.
      
      	* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
      	set it.
      
      	* gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
      	and gtk_window_get_focus() and gtk_window_set_focus().
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_new):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
      	Initialize the accept_focus field to TRUE.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus):
      	Implementations for the various backends. The Win32 and linux-fb
      	implementations set the accept_focus field, but don't use it yet
      	to actually implement noinput windows. The X implementation updates
      	the WM_HINTS to select the globally active input model (see the
      	ICCCM) if accept_focus is FALSE.
      
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
      	WM_TAKE_FOCUS message if accept_focus is FALSE.
      5fb61f30
  33. 09 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Improve the GDK API for dealing with group leaders (#119375): · 3f6441ea
      Matthias Clasen authored
      Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Improve the GDK API for dealing with group leaders (#119375):
      
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to
      	get the group leader of a toplevel window as a GdkWindow.
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New
      	function to get the default group leader as a GdkWindow.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
      	the GdkWindow of the default group leader.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
      	for the default group leader.
      3f6441ea