summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-09-04 18:31:39 +0000
committerjsorg71 <jsorg71>2009-09-04 18:31:39 +0000
commite11dce79dc8708cd86a8917c16c16c9bf4beb45b (patch)
treeb5dc2937076f6b4e3becb3040bae458843741f53
parent4d80c52387455c8aaaadccfeb1634ab552ab2716 (diff)
downloadxrdp-proprietary-e11dce79dc8708cd86a8917c16c16c9bf4beb45b.tar.gz
xrdp-proprietary-e11dce79dc8708cd86a8917c16c16c9bf4beb45b.zip
don't set error handlers for now
-rw-r--r--sesman/chansrv/clipboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index c8385045..f7d4ee3f 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -143,8 +143,10 @@ clipboard_init(void)
return 0;
}
rv = 0;
- XSetErrorHandler(clipboard_error_handler);
- XSetIOErrorHandler(clipboard_fatal_handler);
+ /* setting the error handlers can cause problem when shutting down
+ chansrv on some xlibs */
+ //XSetErrorHandler(clipboard_error_handler);
+ //XSetIOErrorHandler(clipboard_fatal_handler);
g_display = XOpenDisplay(0);
if (g_display == 0)
{