mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Rebase against 0a3700e051f3e9473c5daa40a5cdd951b1310b8c.
[gdi32-PtInRegion] Removed patch to add back the extents test (accepted upstream).
This commit is contained in:
parent
372c0be9d9
commit
bd3563bdf1
@ -1,29 +0,0 @@
|
||||
From df1a6386d4aed6c2ed9e4e455e92cf99d2823002 Mon Sep 17 00:00:00 2001
|
||||
From: Huw Davies <huw@codeweavers.com>
|
||||
Date: Fri, 8 Jul 2016 15:57:36 +0100
|
||||
Subject: gdi32: Add back the extents test.
|
||||
|
||||
Spotted by Sebastian Lackner.
|
||||
|
||||
Signed-off-by: Huw Davies <huw@codeweavers.com>
|
||||
---
|
||||
dlls/gdi32/region.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/gdi32/region.c b/dlls/gdi32/region.c
|
||||
index cea2dab..db21c02 100644
|
||||
--- a/dlls/gdi32/region.c
|
||||
+++ b/dlls/gdi32/region.c
|
||||
@@ -1038,7 +1038,8 @@ BOOL WINAPI PtInRegion( HRGN hrgn, INT x, INT y )
|
||||
|
||||
if ((obj = GDI_GetObjPtr( hrgn, OBJ_REGION )))
|
||||
{
|
||||
- region_find_pt( obj, x, y, &ret );
|
||||
+ if (obj->numRects > 0 && is_in_rect( &obj->extents, x, y ))
|
||||
+ region_find_pt( obj, x, y, &ret );
|
||||
GDI_ReleaseObj( hrgn );
|
||||
}
|
||||
return ret;
|
||||
--
|
||||
2.8.0
|
||||
|
@ -51,13 +51,13 @@ usage()
|
||||
# Get the upstream commit sha
|
||||
upstream_commit()
|
||||
{
|
||||
echo "abb221fa81b60f53c14f6864bbfb9453455aeeeb"
|
||||
echo "0a3700e051f3e9473c5daa40a5cdd951b1310b8c"
|
||||
}
|
||||
|
||||
# Show version information
|
||||
version()
|
||||
{
|
||||
echo "Wine Staging 1.9.14"
|
||||
echo "Wine Staging 1.9.15 (unreleased)"
|
||||
echo "Copyright (C) 2014-2016 the Wine Staging project authors."
|
||||
echo ""
|
||||
echo "Patchset to be applied on upstream Wine:"
|
||||
@ -148,7 +148,6 @@ patch_enable_all ()
|
||||
enable_gdi32_Lazy_Font_Initialization="$1"
|
||||
enable_gdi32_MultiMonitor="$1"
|
||||
enable_gdi32_Path_Metafile="$1"
|
||||
enable_gdi32_PtInRegion="$1"
|
||||
enable_gdi32_Symbol_Truetype_Font="$1"
|
||||
enable_gdiplus_GdipCreateMetafileFromStream="$1"
|
||||
enable_gdiplus_Grayscale_PNG="$1"
|
||||
@ -622,9 +621,6 @@ patch_enable ()
|
||||
gdi32-Path_Metafile)
|
||||
enable_gdi32_Path_Metafile="$2"
|
||||
;;
|
||||
gdi32-PtInRegion)
|
||||
enable_gdi32_PtInRegion="$2"
|
||||
;;
|
||||
gdi32-Symbol_Truetype_Font)
|
||||
enable_gdi32_Symbol_Truetype_Font="$2"
|
||||
;;
|
||||
@ -3678,18 +3674,6 @@ if test "$enable_gdi32_Path_Metafile" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset gdi32-PtInRegion
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/gdi32/region.c
|
||||
# |
|
||||
if test "$enable_gdi32_PtInRegion" -eq 1; then
|
||||
patch_apply gdi32-PtInRegion/0001-gdi32-Add-back-the-extents-test.patch
|
||||
(
|
||||
echo '+ { "Huw Davies", "gdi32: Add back the extents test.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset gdi32-Symbol_Truetype_Font
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
@ -1 +1 @@
|
||||
Wine Staging 1.9.14
|
||||
Wine Staging 1.9.15 (unreleased)
|
||||
|
Loading…
x
Reference in New Issue
Block a user