check the iteration window variable, not just the window passed in. fixes

Wed Oct  6 00:45:04 2004    <timj@birnet.org>

        * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
        variable, not just the window passed in. fixes #145270.
This commit is contained in:
4
2004-10-05 23:05:13 +00:00
committed by Tim Janik
parent 229388f26d
commit 2183dbf3c1
5 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Oct 6 00:45:04 2004 <timj@birnet.org>
* gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
variable, not just the window passed in. fixes #145270.
Tue Oct 5 21:00:54 2004 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change

View File

@ -1,3 +1,8 @@
Wed Oct 6 00:45:04 2004 <timj@birnet.org>
* gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
variable, not just the window passed in. fixes #145270.
Tue Oct 5 21:00:54 2004 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change

View File

@ -1,3 +1,8 @@
Wed Oct 6 00:45:04 2004 <timj@birnet.org>
* gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
variable, not just the window passed in. fixes #145270.
Tue Oct 5 21:00:54 2004 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change

View File

@ -1,3 +1,8 @@
Wed Oct 6 00:45:04 2004 <timj@birnet.org>
* gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
variable, not just the window passed in. fixes #145270.
Tue Oct 5 21:00:54 2004 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change

View File

@ -827,7 +827,7 @@ gdk_window_is_viewable (GdkWindow *window)
(private != (GdkWindowObject *)root_window) &&
(GDK_WINDOW_TYPE (private) != GDK_WINDOW_FOREIGN))
{
if (GDK_WINDOW_DESTROYED (window) || !GDK_WINDOW_IS_MAPPED (window))
if (GDK_WINDOW_DESTROYED (private) || !GDK_WINDOW_IS_MAPPED (private))
return FALSE;
private = (GdkWindowObject *)private->parent;