Re: Problems with expose_event->region patch
- From: Alexander Larsson <alla lysator liu se>
- To: Owen Taylor <otaylor redhat com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: Problems with expose_event->region patch
- Date: Mon, 12 Mar 2001 15:49:34 +0100 (CET)
On 9 Mar 2001, Owen Taylor wrote:
> gdk_window_scroll() keeps an queue of translations, so there
> is no need to process all graphics exposes before scrolling
> again.
I checked in the GtkClist changes, but they don't actually work, because
of brokenness in gdk. I've attached a fix. Can i commit it?
/ Alex
Index: x11/gdkgeometry-x11.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/gdkgeometry-x11.c,v
retrieving revision 1.8
diff -u -p -r1.8 gdkgeometry-x11.c
--- x11/gdkgeometry-x11.c 2001/02/27 20:40:00 1.8
+++ x11/gdkgeometry-x11.c 2001/03/12 14:44:05
@@ -722,7 +722,7 @@ _gdk_window_process_expose (GdkWindow
if (item->window == window)
{
if (item->type == GDK_WINDOW_QUEUE_TRANSLATE)
- gdk_region_offset (invalidate_region, - item->u.translate.dx, - item->u.translate.dy);
+ gdk_region_offset (invalidate_region, item->u.translate.dx, item->u.translate.dy);
else /* anti-expose */
gdk_region_subtract (invalidate_region, item->u.antiexpose.area);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]