You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Rebase against c81c6fca50fcbd93fb54f4a3417630bb081578ff.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 1f6f25d59452ac969c5cf78cfb472409e303d9d8 Mon Sep 17 00:00:00 2001
|
||||
From bc61fb352dd93ec249aecd7f57bd7b712d1ba651 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Yan <felixonmars@gmail.com>
|
||||
Date: Tue, 23 Sep 2014 23:22:17 +0800
|
||||
Subject: [PATCH] winex11.drv: Update a candidate window's position with
|
||||
@@ -26,10 +26,10 @@ received a lot of help from Sebastian Lackner.
|
||||
6 files changed, 85 insertions(+)
|
||||
|
||||
diff --git a/dlls/win32u/driver.c b/dlls/win32u/driver.c
|
||||
index 04192aae309..d5dc16e1cb8 100644
|
||||
index e22a457d6d6..1b47c285787 100644
|
||||
--- a/dlls/win32u/driver.c
|
||||
+++ b/dlls/win32u/driver.c
|
||||
@@ -929,6 +929,11 @@ static struct opengl_funcs *nulldrv_wine_get_wgl_driver( UINT version )
|
||||
@@ -907,6 +907,11 @@ static struct opengl_funcs *nulldrv_wine_get_wgl_driver( UINT version )
|
||||
return (void *)-1;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ index 04192aae309..d5dc16e1cb8 100644
|
||||
static void nulldrv_ThreadDetach( void )
|
||||
{
|
||||
}
|
||||
@@ -1310,6 +1315,7 @@ static const struct user_driver_funcs lazy_load_driver =
|
||||
@@ -1287,6 +1292,7 @@ static const struct user_driver_funcs lazy_load_driver =
|
||||
loaderdrv_VulkanInit,
|
||||
/* opengl support */
|
||||
nulldrv_wine_get_wgl_driver,
|
||||
@@ -49,7 +49,7 @@ index 04192aae309..d5dc16e1cb8 100644
|
||||
/* thread management */
|
||||
nulldrv_ThreadDetach,
|
||||
};
|
||||
@@ -1394,6 +1400,7 @@ void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version
|
||||
@@ -1370,6 +1376,7 @@ void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT version
|
||||
SET_USER_FUNC(SystemParametersInfo);
|
||||
SET_USER_FUNC(VulkanInit);
|
||||
SET_USER_FUNC(wine_get_wgl_driver);
|
||||
@@ -58,10 +58,10 @@ index 04192aae309..d5dc16e1cb8 100644
|
||||
#undef SET_USER_FUNC
|
||||
|
||||
diff --git a/dlls/win32u/input.c b/dlls/win32u/input.c
|
||||
index 9e764a335f5..532cab0e8e6 100644
|
||||
index 04532e7d015..43257ccf947 100644
|
||||
--- a/dlls/win32u/input.c
|
||||
+++ b/dlls/win32u/input.c
|
||||
@@ -2334,6 +2334,8 @@ BOOL set_caret_pos( int x, int y )
|
||||
@@ -2340,6 +2340,8 @@ BOOL set_caret_pos( int x, int y )
|
||||
r.left = x;
|
||||
r.top = y;
|
||||
display_caret( hwnd, &r );
|
||||
@@ -70,7 +70,7 @@ index 9e764a335f5..532cab0e8e6 100644
|
||||
NtUserSetSystemTimer( hwnd, SYSTEM_TIMER_CARET, caret.timeout );
|
||||
}
|
||||
return ret;
|
||||
@@ -2371,6 +2373,8 @@ BOOL WINAPI NtUserShowCaret( HWND hwnd )
|
||||
@@ -2377,6 +2379,8 @@ BOOL WINAPI NtUserShowCaret( HWND hwnd )
|
||||
if (ret && hidden == 1) /* hidden was 1 so it's now 0 */
|
||||
{
|
||||
display_caret( hwnd, &r );
|
||||
@@ -80,10 +80,10 @@ index 9e764a335f5..532cab0e8e6 100644
|
||||
}
|
||||
return ret;
|
||||
diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
|
||||
index f9a331c5619..c5f92342e18 100644
|
||||
index e3b3a3e2557..b30f4e48144 100644
|
||||
--- a/dlls/winex11.drv/init.c
|
||||
+++ b/dlls/winex11.drv/init.c
|
||||
@@ -434,6 +434,7 @@ static const struct user_driver_funcs x11drv_funcs =
|
||||
@@ -427,6 +427,7 @@ static const struct user_driver_funcs x11drv_funcs =
|
||||
.pSystemParametersInfo = X11DRV_SystemParametersInfo,
|
||||
.pVulkanInit = X11DRV_VulkanInit,
|
||||
.pwine_get_wgl_driver = X11DRV_wine_get_wgl_driver,
|
||||
@@ -92,10 +92,10 @@ index f9a331c5619..c5f92342e18 100644
|
||||
};
|
||||
|
||||
diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h
|
||||
index bab633c5613..424df92c48c 100644
|
||||
index c308f54adb3..030dca910b8 100644
|
||||
--- a/dlls/winex11.drv/x11drv.h
|
||||
+++ b/dlls/winex11.drv/x11drv.h
|
||||
@@ -257,6 +257,7 @@ extern void X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flag
|
||||
@@ -253,6 +253,7 @@ extern void X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flag
|
||||
struct window_surface *surface );
|
||||
extern BOOL X11DRV_SystemParametersInfo( UINT action, UINT int_param, void *ptr_param,
|
||||
UINT flags );
|
||||
@@ -199,11 +199,11 @@ index c6a93eb5e16..786a089160f 100644
|
||||
}
|
||||
|
||||
diff --git a/include/wine/gdi_driver.h b/include/wine/gdi_driver.h
|
||||
index d0ba6ee5f85..f33370bac93 100644
|
||||
index 61c9342d50f..4bed824e437 100644
|
||||
--- a/include/wine/gdi_driver.h
|
||||
+++ b/include/wine/gdi_driver.h
|
||||
@@ -352,6 +352,8 @@ struct user_driver_funcs
|
||||
UINT (*pVulkanInit)(UINT,void *,struct vulkan_funcs *);
|
||||
@@ -344,6 +344,8 @@ struct user_driver_funcs
|
||||
UINT (*pVulkanInit)(UINT,void *,const struct vulkan_driver_funcs **);
|
||||
/* opengl support */
|
||||
struct opengl_funcs * (*pwine_get_wgl_driver)(UINT);
|
||||
+ /* IME functions */
|
||||
|
Reference in New Issue
Block a user