1. 15 Aug, 2006 1 commit
    • Matthias Clasen's avatar
      Zero out some stack-allocated X structures, to avoid valgrind warnings · bb279057
      Matthias Clasen authored
      2006-08-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
              (gdk_window_set_functions): Zero out some stack-allocated
              X structures, to avoid valgrind warnings about uninitialized
              memory.  (#349382, David Baron)
      bb279057
  2. 06 Aug, 2006 1 commit
  3. 27 Jul, 2006 1 commit
  4. 19 Jul, 2006 1 commit
  5. 29 Jun, 2006 1 commit
  6. 28 Jun, 2006 1 commit
  7. 20 Jun, 2006 1 commit
  8. 05 Jun, 2006 1 commit
  9. 25 May, 2006 1 commit
  10. 22 May, 2006 1 commit
    • Matthias Clasen's avatar
      Remove _gdk_x11_screen_request_cm_notification · 4c01fbf7
      Matthias Clasen authored
      2006-05-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkscreen-x11.c: Remove _gdk_x11_screen_request_cm_notification
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Directly call
      	gdk_display_request_selection_notification.
      
      	* gdk/x11/gdkdisplay-x11.c: Several cleanups.
      4c01fbf7
  11. 18 May, 2006 1 commit
  12. 15 May, 2006 1 commit
    • Søren Sandmann's avatar
      gtk/gtklayout.c (gtk_layout_realize), gtk/gtkiconview.c · 6cb19cf3
      Søren Sandmann authored
      Mon May 15 15:12:05 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtklayout.c (gtk_layout_realize),
      	* gtk/gtkiconview.c (gtk_icon_view_realize),
      	* gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of
      	the clip windows to NULL, since they are generally invisible and
      	don't have EXPOSURE set, which means they temp-unvlicker code
      	doesn't apply to them.
      
      	* gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset
      	the background of the parent window during resizing. Invalidate
      	the uncoered area of the parent window. Bug 341332.
      6cb19cf3
  13. 14 May, 2006 1 commit
  14. 04 May, 2006 1 commit
    • Matthias Clasen's avatar
      Make symbol list mstch reality. · 89b5cb64
      Matthias Clasen authored
      2006-05-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkfilesystem.c:
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkprintbackend.h:
      	* gtk/gtkrecentchooserdefault.c:
      	* gtk/gtkrecentchooserdefault.h:
      	* gtk/paper_names_offsets.c: Make symbol list mstch reality.
      
      	* gtk/Makefile.am: Fix a typo.
      
      	* gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c
      89b5cb64
  15. 27 Apr, 2006 1 commit
  16. 25 Apr, 2006 1 commit
    • Søren Sandmann's avatar
      Create 'composited' label. · b9d1a034
      Søren Sandmann authored
      Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testgtk.c (create_alpha_window): Create 'composited' label.
      
      	* tests/testgtk.c (on_composited_changed): New function, change
      	the label to say whether the screen is composited or not.
      
      	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
      	composited status change, invalidate the window and propagate the signal;.
      
      	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
      	if reset_type_hint is TRUE.
      
      	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
      	the old hints, store a shadow copy in the public window->type_hint
      	bitfield, otherwise set this field to normal. Set the private
      	field to the type hint.
      
      	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint.
      
      	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
      	"reset_type_hint" indicating whether the type hint needs to be
      	reset. New field type_hint containing a GdkWindowTypeHint.
      
      	* gtk/gtkwidget.c (propagate_composited_changed): New function to
      	propagate changes in composited status.
      	(gtk_widget_class_init): Add composited_changed signal.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.
      
      	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.
      
      	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
      	the item belongs to a menubar. Set the type_hint appropriately
      	depending on the outcome.
      
      	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
      	changed on the attach widget.
      
      	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
      	set the transient_for property for menus.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
      	transient for the toplevel.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
      	transient-for, for the popup window.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
      	new window types.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
      	for new window types.
      
      	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
      	New function called whenever the compositing manager comes and goes.
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
      	check_is_composited): New functions
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
      	_gdk_x11_screen_process_owner_change when an
      	XFixesSelectionNotifyEvent is received.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
      	_gdk_x11_screen_request_cm_notification() on all screens.
      
      	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
      	implementation.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
      	'composited-changed'.
      
      	* gdk/gdkwindow.h: Add new EWMH window types.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
      b9d1a034
  17. 16 Apr, 2006 1 commit
  18. 12 Apr, 2006 4 commits
  19. 04 Apr, 2006 2 commits
    • Søren Sandmann's avatar
      Add "_private" to make it build. · 3797d5a3
      Søren Sandmann authored
      Tue Apr  4 12:25:36 2006  Søren Sandmann  <sandmann@redhat.com>
      
              * gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to
              make it build.
      3797d5a3
    • 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
  20. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Make _gdk_windowing_args const. · aff3329d
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkinternals.h:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c:
      	* gdk/directfb/gdkdisplay-directfb.c:
      	* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
      aff3329d
  21. 30 Mar, 2006 2 commits
  22. 15 Mar, 2006 1 commit
  23. 08 Mar, 2006 1 commit
    • Michael Natterer's avatar
      gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added · 5afb4f0f
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkscreen.h
      	* gdk/x11/gdkscreen-x11.c
      	* gdk/gdk.symbols: added gdk_screen_get_active_window() and
      	gdk_screen_get_window_stack() (patch from maemo-gtk).
      	Fixes bug #320881.
      
      	* gdk/directfb/gdkscreen-directfb.c
      	* gdk/quartz/gdkscreen-quartz.c
      	* gdk/win32/gdkscreen-win32.c: added the functions as stubs.
      5afb4f0f
  24. 04 Mar, 2006 1 commit
  25. 27 Feb, 2006 2 commits
    • Michael Natterer's avatar
      map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings · 7324be3c
      Michael Natterer authored
      2006-02-27  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
      	"Gtk/TouchscreenMode" XSettings property, remove trailing
      	whitespace.
      
      	* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
      	newlines.
      7324be3c
    • Tim Janik's avatar
      moved and renamed the gdk_settings_names and gdk_settings_map. · e33012b8
      Tim Janik authored
      Mon Feb 27 14:52:50 2006  Tim Janik  <timj@imendio.com>
      
              * gdkevents-x11.c:
              * gdksettings.c: moved and renamed the gdk_settings_names and
              gdk_settings_map.
      
              * gdk/x11/checksettings.c: test program for the gdk_settings_map array.
      
              * gdk/x11/Makefile.am: run checksettings as part of make check.
      e33012b8
  26. 24 Feb, 2006 1 commit
  27. 20 Feb, 2006 2 commits
    • Michael Natterer's avatar
      adding boolean have_shapes and have_input_shapes members fixes the build. · 9b9a5bce
      Michael Natterer authored
      2006-02-20  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): adding boolean
      	have_shapes and have_input_shapes members fixes the build.
      9b9a5bce
    • Matthias Clasen's avatar
      Support input shapes: (#331070) · 1ad93a68
      Matthias Clasen authored
      2006-02-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Support input shapes:  (#331070)
      
      	* gdk/gdk.symbols:
      	* gdk/gdkdisplay.h:
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes)
      	(gdk_display_supports_input_shapes): Functions to determine
      	if a display supports shaped windows or input shapes.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region):
      	(gdk_window_input_shape_combine_mask):
      	(gdk_window_set_child_input_shapes):
      	(gdk_window_merge_child_input_shapes): Input shape versions
      	of the window shape API.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwidget.h:
      	* gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask):
      	New function to set an input shape on a widget.
      1ad93a68
  28. 02 Feb, 2006 1 commit
  29. 29 Jan, 2006 1 commit
  30. 25 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Only set the cursor size if it is != 0. · 2ec7ee28
      Matthias Clasen authored
      2006-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
      	set the cursor size if it is != 0.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
      	of gtk-cursor-theme-size to 0, meaning "use default".
      2ec7ee28
  31. 20 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Use an unused high bit in the XID to mark fonts in the global xid hash · 73153b42
      Matthias Clasen authored
      2006-01-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
      	* gdk/x11/gdkfont-x11.c:
      	* gdk/x11/gdkxid.c: Use an unused high bit in the
      	XID to mark fonts in the global xid hash table.
      
      	* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
      	when iterating over the xid hash table, since calling
      	GDK_IS_WINDOW () on an GdkFont can cause a segfault.
      	(#327751, Ryan Lortie)
      73153b42
  32. 11 Jan, 2006 2 commits