[Wine-patches] [eter-2.1] winex11.drv: Enable a workaround for the bug 11755 only for NX sessions. (eterbug #11845)
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Вт Июл 11 12:49:35 MSK 2017
---
dlls/winex11.drv/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index ba28d93321..f49537b1a6 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -183,7 +183,7 @@ static BOOL etersoft_is_window_managed(HWND hwnd, DWORD style, DWORD ex_style)
{
DWORD ex_style = GetWindowLongW( hwnd, GWL_EXSTYLE );
if (ex_style & WS_EX_APPWINDOW) return TRUE;
- return FALSE;
+ return getenv("NXSESSIONID") == NULL;
}
}
--
2.13.2
Подробная информация о списке рассылки Wine-patches