Alexandre Julliard : winex11.drv:
Comment out the XCloseDisplay call on process detach.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 3 15:58:25 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 145e06040d053aedd7d728071809ac580484f3b6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=145e06040d053aedd7d728071809ac580484f3b6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Aug 3 19:29:44 2006 +0200
winex11.drv: Comment out the XCloseDisplay call on process detach.
It has a tendency to trigger X11 bugs, and it's not really useful anyway.
---
dlls/winex11.drv/init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
index 651b2b4..b3ee171 100644
--- a/dlls/winex11.drv/init.c
+++ b/dlls/winex11.drv/init.c
@@ -108,8 +108,8 @@ static void device_init(void)
void X11DRV_GDI_Finalize(void)
{
X11DRV_PALETTE_Cleanup();
- XCloseDisplay( gdi_display );
- gdi_display = NULL;
+ /* don't bother to close the display, it often triggers X bugs */
+ /* XCloseDisplay( gdi_display ); */
}
/**********************************************************************
More information about the wine-cvs
mailing list