gtk2/gdk/x11
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
..
.cvsignore Added checksettings. 2006-03-15 07:59:09 +00:00
checksettings.c map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings 2006-02-27 14:08:06 +00:00
gdkasync.c Free state.children in all cases. (#313862, Kjartan Maraas) 2005-08-29 04:38:52 +00:00
gdkasync.h Change _gdk_x11_send_xevent_async() to 2003-07-08 22:27:47 +00:00
gdkcolor-x11.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkcursor-x11.c Only set the cursor size if it is != 0. 2006-01-25 15:41:40 +00:00
gdkdisplay-x11.c Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkdisplay-x11.h adding boolean have_shapes and have_input_shapes members fixes the build. 2006-02-20 09:49:49 +00:00
gdkdnd-x11.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkdrawable-x11.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkdrawable-x11.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkevents-x11.c Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkfont-x11.c Use an unused high bit in the XID to mark fonts in the global xid hash 2006-01-20 04:35:24 +00:00
gdkgc-x11.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkgeometry-x11.c New function which can be used to implement scrolling in non-window 2005-06-21 04:09:52 +00:00
gdkglobals-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkim-x11.c remove unconditional warnings about missing X locale support. Gdk properly 2006-02-24 12:28:33 +00:00
gdkimage-x11.c Fix another Coverity bug 2006-04-12 20:43:52 +00:00
gdkinput-none.c Some more fixes necessary to make building with gcc 4 work. 2005-04-10 01:01:18 +00:00
gdkinput-x11.c Adjust the handling of min values for the x and y axes of extended input 2006-03-04 05:26:29 +00:00
gdkinput-xfree.c Some more fixes necessary to make building with gcc 4 work. 2005-04-10 01:01:18 +00:00
gdkinput.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkinputprivate.h Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkkeys-x11.c Rearrange the code a bit. 2006-04-12 17:57:30 +00:00
gdkmain-x11.c Make _gdk_windowing_args const. 2006-04-03 20:36:52 +00:00
gdkpixmap-x11.c Use G_DEFINE_TYPE. 2006-04-04 14:02:03 +00:00
gdkpixmap-x11.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-x11.h Use an unused high bit in the XID to mark fonts in the global xid hash 2006-01-20 04:35:24 +00:00
gdkproperty-x11.c Avoid relocations for the list of standard atoms. 2005-12-27 07:36:58 +00:00
gdkscreen-x11.c Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkscreen-x11.h Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkselection-x11.c Make this work for list == NULL. (Coverity) 2006-04-12 18:38:40 +00:00
gdksettings.c map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings 2006-02-27 14:08:06 +00:00
gdkspawn-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual-x11.c Applied patch from maemo-gtk that addresses many issues wrt display 2005-11-10 12:09:42 +00:00
gdkwindow-x11.c Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkwindow-x11.h Support the ICCCM urgency hint. (#61858, Havoc Pennington) 2005-06-17 20:19:32 +00:00
gdkx.h Make gdk_window_present() move the window to the current desktop, instead 2005-07-11 18:28:23 +00:00
gdkxftdefaults.c Make the initialization of screen_x11->xft_rgba more explicit. (#319627, 2005-10-25 18:11:57 +00:00
gdkxid.c Use an unused high bit in the XID to mark fonts in the global xid hash 2006-01-20 04:35:24 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am moved and renamed the gdk_settings_names and gdk_settings_map. 2006-02-27 13:56:30 +00:00
MwmUtil.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
xsettings-client.c Various cleanups. (#315359, Kjartan Maraas) 2005-09-13 19:14:51 +00:00
xsettings-client.h Remove unused variable 'result' 2004-02-02 18:01:27 +00:00
xsettings-common.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
xsettings-common.h Add xsettings_client_set_grab_func, Add xsettings_client_set_ungrab_func 2004-02-27 00:56:04 +00:00