summarylogtreecommitdiffstats
path: root/0002-wine-wechat.patch
blob: 0ea80a7ce767e1e7d36fe687cfc1de82dfd15c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/dlls/user32/win.c  2020-04-09 22:20:30.459968806 +0800
+++ b/dlls/user32/win.c  2020-04-09 21:54:09.588643751 +0800
@@ -1795,6 +1795,17 @@
     cs.lpszClass      = className;
     cs.dwExStyle      = exStyle;
 
+    if (exStyle == 0x080800a0 && style != 0x80000000 ) // WeChat/WxWork shadow hwnd ; fix can not open chat info
+    {
+        FIXME("hack %x\n", cs.dwExStyle);
+        return NULL;
+    }
+    if (exStyle == 0x000800a0) // Netease Cloudmusic shadow wnd
+    {
+        FIXME("hack %x\n", cs.dwExStyle);
+        return NULL;
+    }
+
     return wow_handlers.create_window( &cs, className, instance, TRUE );
 }