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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user