Add flags field to GtkTargetEntry table.

Fri Jan 22 19:22:39 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkeditable.c: Add flags field to
	 GtkTargetEntry table.

	* gdk/gdkwindow.c (gdk_window_is_viewable): Treat foreign
	 windows as always viewable, since we can't track their
	 map-state reliably without speed problems. (Fixes
	 problem where updating didn't occur properly within
	 GtkPlug)
This commit is contained in:
Owen Taylor
1999-01-23 20:31:42 +00:00
committed by Owen Taylor
parent 0e9b9e32db
commit 6a690c6d3f
10 changed files with 233 additions and 5 deletions

View File

@ -2526,7 +2526,9 @@ gdk_window_is_viewable (GdkWindow *window)
g_return_val_if_fail (window != NULL, FALSE);
while (private && (private != &gdk_root_parent))
while (private &&
(private != &gdk_root_parent) &&
(private->window_type != GDK_WINDOW_FOREIGN))
{
if (!private->mapped)
return FALSE;