1. 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
  2. 05 Oct, 2004 1 commit
  3. 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
  4. 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
  5. 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
  6. 02 Aug, 2004 1 commit
  7. 31 Jul, 2004 1 commit
  8. 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
  9. 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
  10. 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
  11. 07 Jul, 2004 1 commit
  12. 26 Jun, 2004 1 commit
  13. 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
  14. 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
  15. 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
  16. 06 Mar, 2004 1 commit
  17. 26 Feb, 2004 1 commit
  18. 02 Feb, 2004 1 commit
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 23 Oct, 2003 1 commit
  25. 13 Oct, 2003 1 commit
  26. 10 Aug, 2003 1 commit
  27. 02 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Requires glib-2.3.0, pango-1.2.0. · 88c1c946
      Owen Taylor authored
      Sat Aug  2 12:53:16 2003  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Requires glib-2.3.0, pango-1.2.0.
      
              * configure.in: Require Xft version 2,
              remove code for handling older versions of pango and Xft.
              Many miscellaneous improvements to X checks
      
              * acinclude.m4: Add GTK_ADD_LIB() macro for adding
              a library to a variable, avoiding dups.
      
              * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
              Always load "fixed"
      
              * gdk/x11/gdk*-x11.[ch]: Remove support for Xft1 and
              for pangox.
      88c1c946
  28. 18 Jul, 2003 1 commit
    • Jody Goldberg's avatar
      fix cut-n-paste-o · b42280f7
      Jody Goldberg authored
      
      2003-07-16  Jody Goldberg <jody@gnome.org>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o
      b42280f7
  29. 05 Jul, 2003 3 commits
    • Owen Taylor's avatar
      Move the grabs up earlier, so we don't get a big pile of uncompressed · e5561940
      Owen Taylor authored
      Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
              earlier, so we don't get a big pile of uncompressed
              motion events before the grab takes effect.
      
              * gtk/gtkdnd.c (gtk_drag_update_icon): Call
              gdk_window_process_all_updates() so that the area
              we are dragging over gets a change to redraw.
      
              * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use
              gdk_window_get_position(), not gdk_window_get_origin().
      
              * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
              gdkdisplay-x11.h: use XShapeQueryExtension to
              avoid duplicate XQueryExtension when we actually
              use it. Remove unnecessary caching in GdkDisplayX11.
      e5561940
    • Owen Taylor's avatar
      Split toplevel-specific pieces of GdkWindowImplX11 into a separate · 86250658
      Owen Taylor authored
      Fri Jul  4 22:26:27 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
              toplevel-specific pieces of GdkWindowImplX11 into
              a separate GdkToplevelX11 structure.
      86250658
    • 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
      	XSync().
      
      	* 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.
      9bedbf66
  30. 20 May, 2003 1 commit
    • Owen Taylor's avatar
      Comprehensively zero all unused parts of client messages (Mainly Motif DND · ef605368
      Owen Taylor authored
      Tue May 20 15:09:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
              zero all unused parts of client messages (Mainly Motif DND
              and EWMH). Also, fix a couple places where we were putting
              contents into Motif DND messages that didn't belong.
              (#113361, EWMH problem reported by Lubos Lunak)
      
              * gtk/gtkselection.c (_gtk_selection_request): Handle the
              case where the property type for the multiple atoms is
              ATOM_PAIR by doing the conversions ourselve. This is
              needed for Xt inter-operation.
      ef605368
  31. 21 Apr, 2003 1 commit
  32. 18 Apr, 2003 1 commit