gtk/gdk
Søren Sandmann b9d1a03440 Create 'composited' label.
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)
2006-04-25 14:27:32 +00:00
..
directfb Documentation fixes. 2006-04-24 18:23:55 +00:00
linux-fb If major.minor of required and available glib versions are the same, add 2006-01-29 04:00:45 +00:00
quartz Create 'composited' label. 2006-04-25 14:27:32 +00:00
win32 Create 'composited' label. 2006-04-25 14:27:32 +00:00
x11 Create 'composited' label. 2006-04-25 14:27:32 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Make this work on more platforms. 2006-01-14 04:45:22 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Here too. 2006-04-03 20:38:09 +00:00
gdk.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdk.symbols Merge the gtk-printing branch. For more detailed ChangeLog entries, see 2006-04-21 15:09:32 +00:00
gdkcairo.c Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha = 2006-02-05 20:34:43 +00:00
gdkcairo.h Add gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson) 2005-12-30 07:16:35 +00:00
gdkcolor.c Use g_slice instead of mem chunks. 2005-12-05 20:51:18 +00:00
gdkcolor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkcursor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdisplay.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkdisplay.h Support input shapes: (#331070) 2006-02-20 01:36:50 +00:00
gdkdisplaymanager.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdraw.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkdrawable.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkevents.c fix missing hash table initialization. 2005-12-06 10:40:09 +00:00
gdkevents.h Make it possible to determine if a key event is for a modifier key: 2005-09-09 22:50:15 +00:00
gdkfont.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkfont.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkgc.c Obtain the background color from the gc when it is needed. (#331820) 2006-02-20 17:57:09 +00:00
gdkgc.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkglobals.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c connect to the display's "closed" signal and free the cached scratch 2006-01-12 13:50:51 +00:00
gdkimage.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinput.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinternals.h Add new GdkPaintable interface which implementation objects can implement 2006-04-10 19:43:08 +00:00
gdkintl.h Make the GdkScreen font options api public, and add properties 2005-08-26 18:49:52 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkkeys.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkkeysyms.h Add dead_hook and dead_horn. 2004-11-29 13:57:53 +00:00
gdkkeyuni.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkpango.c Add a gc_changed argument, and avoid setting the clip region if the gc has 2006-02-20 17:17:09 +00:00
gdkpango.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkpixbuf-drawable.c New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkpixbuf-render.c Another doc update 2005-12-20 05:35:15 +00:00
gdkpixbuf.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpixmap.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkpixmap.h New function to allow wrapping a native pixmap without a server roundtrip. 2006-03-30 04:08:51 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkrectangle.c Inline docs. 2005-12-24 07:00:47 +00:00
gdkregion-generic.c Documentation fixes. 2006-04-24 18:23:55 +00:00
gdkregion-generic.h Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkregion.h Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkrgb.c Small savings 2006-04-04 04:14:17 +00:00
gdkrgb.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkscreen.c Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkscreen.h Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkselection.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkselection.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkspawn.h Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
gdktypes.h Don't use GDK_ALT_MASK. 2005-09-06 19:25:47 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkwindow.c Add new GdkPaintable interface which implementation objects can implement 2006-04-10 19:43:08 +00:00
gdkwindow.h Create 'composited' label. 2006-04-25 14:27:32 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keynames.txt Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Added new directfb backend 2006-02-05 04:04:29 +00:00
makefile.msc also recurse into win32 for ::clean create gtkbuiltincache.h (most code to 2006-01-05 23:55:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00