diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-05-18 22:44:19 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-05-18 22:44:19 +0000 |
commit | 31fa33911342f4a48834c261943ca9d0395b0c25 (patch) | |
tree | e094c3e17c4babd61b9a264e5d64be397c2b7c54 /gdk/gdkregion-generic.c | |
parent | 26b2cbe5aef19a072eec5f6f4979b2dcdc36e781 (diff) | |
download | gtk+-31fa33911342f4a48834c261943ca9d0395b0c25.tar.gz |
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.
Diffstat (limited to 'gdk/gdkregion-generic.c')
-rw-r--r-- | gdk/gdkregion-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkregion-generic.c b/gdk/gdkregion-generic.c index 0319f939f4..1140ce0421 100644 --- a/gdk/gdkregion-generic.c +++ b/gdk/gdkregion-generic.c @@ -1438,7 +1438,7 @@ gdk_region_rect_in (GdkRegion *region, /* this is (just) a useful optimization */ if ((region->numRects == 0) || !EXTENTCHECK (®ion->extents, prect)) - return GDK_OVERLAP_RECTANGLE_IN; + return GDK_OVERLAP_RECTANGLE_OUT; partOut = FALSE; partIn = FALSE; |