Commit 44afc537 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent d9e05d70
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.
......
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.
......
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.
......
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.
......
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.
......
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.
......
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.
......
......@@ -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"
......
......@@ -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)
return;
}
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment