If a region does not have any rectangles, or if the specified rectangle is

If a region does not have any rectangles, or if the specified rectangle is
not in the region, then return GDK_OVERLAP_RECTANGLE_OUT instead of
GDK_OVERLAP_RECTANGLE_IN.
This commit is contained in:
Elliot Lee 2000-05-18 22:44:19 +00:00
parent 26b2cbe5ae
commit 31fa339113
9 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1,3 +1,9 @@
2000-05-18 Elliot Lee <sopwith@redhat.com>
* gdk/x11/gdkregion-generic.c: If a region does not have any
rectangles, or if the specified rectangle is not in the region, then return GDK_OVERLAP_RECTANGLE_OUT
instead of GDK_OVERLAP_RECTANGLE_IN.
2000-05-17 Jonathan Blandford <jrb@redhat.com>
* gtk/gtklayout.c (gtk_layout_map): Remove references to

View File

@ -1438,7 +1438,7 @@ gdk_region_rect_in (GdkRegion *region,
/* this is (just) a useful optimization */
if ((region->numRects == 0) || !EXTENTCHECK (&region->extents, prect))
return GDK_OVERLAP_RECTANGLE_IN;
return GDK_OVERLAP_RECTANGLE_OUT;
partOut = FALSE;
partIn = FALSE;

View File

@ -1438,7 +1438,7 @@ gdk_region_rect_in (GdkRegion *region,
/* this is (just) a useful optimization */
if ((region->numRects == 0) || !EXTENTCHECK (&region->extents, prect))
return GDK_OVERLAP_RECTANGLE_IN;
return GDK_OVERLAP_RECTANGLE_OUT;
partOut = FALSE;
partIn = FALSE;