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
Added patch to workaround programs leaking wndproc slots.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From a857ce50c5f1e48d7c08c034374b742292d18344 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Fri, 8 Aug 2014 23:40:58 +0200
|
||||
Subject: user32: Increase MAX_WINPROCS to 16384.
|
||||
|
||||
---
|
||||
dlls/user32/winproc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/user32/winproc.c b/dlls/user32/winproc.c
|
||||
index 57adfc2..e18dd5e 100644
|
||||
--- a/dlls/user32/winproc.c
|
||||
+++ b/dlls/user32/winproc.c
|
||||
@@ -45,7 +45,7 @@ typedef struct tagWINDOWPROC
|
||||
WNDPROC procW; /* Unicode window proc */
|
||||
} WINDOWPROC;
|
||||
|
||||
-#define MAX_WINPROCS 4096
|
||||
+#define MAX_WINPROCS 16384
|
||||
#define MAX_WINPROC_RECURSION 64
|
||||
#define WINPROC_PROC16 ((WINDOWPROC *)1) /* placeholder for 16-bit window procs */
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
4
patches/user32-WndProc/definition
Normal file
4
patches/user32-WndProc/definition
Normal file
@@ -0,0 +1,4 @@
|
||||
Author: Sebastian Lackner
|
||||
Subject: Workaround for programs leaking wndproc splots.
|
||||
Revision: 1
|
||||
Fixes: [32451] Fix for programs leaking wndproc slots
|
Reference in New Issue
Block a user