Replace broken, (broken, Elliot, every single window blank on X) custom

Mon Jul 31 16:45:48 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
	(broken, Elliot, every single window blank on X) custom code with call
	to gdk_window_is_viewable() which a) prevents code duplicate and
	b) works.
This commit is contained in:
Owen Taylor 2000-07-31 20:48:38 +00:00 committed by Owen Taylor
parent d9e05d7009
commit 44afc537b3
9 changed files with 53 additions and 7 deletions

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -1,3 +1,10 @@
Mon Jul 31 16:45:48 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
(broken, Elliot, every single window blank on X) custom code with call
to gdk_window_is_viewable() which a) prevents code duplicate and
b) works.
2000-07-31 Elliot Lee <sopwith@redhat.com>
* gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() macro to work.

View File

@ -212,7 +212,7 @@ AC_SUBST(STRIP_BEGIN)
AC_SUBST(STRIP_END)
# i18n stuff
ALL_LINGUAS="ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl no pl pt pt_BR ro ru sk sl sp sr sv tr uk wa zh_TW.Big5 zh_CN.GB2312"
ALL_LINGUAS="ca cs da de el es et eu fi fr ga gl he hr hu it ja ko lt nl no pl pt pt_BR ro ru sk sl sp sr sv tr uk wa zh_TW.Big5 zh_CN.GB2312"
AM_GTK_GNU_GETTEXT
LIBS="$LIBS $INTLLIBS"

View File

@ -1413,14 +1413,11 @@ static guint update_idle = 0;
static void
gdk_window_process_updates_internal (GdkWindow *window)
{
GdkWindowObject *private = (GdkWindowObject *)window, *cur;
GdkWindowObject *private = (GdkWindowObject *)window;
gboolean save_region = FALSE;
for(cur = private; cur; cur = cur->parent)
{
if(!cur->mapped)
if (!gdk_window_is_viewable (window))
return;
}
/* If an update got queued during update processing, we can get a
* window in the update queue that has an empty update_area.