don't set error handlers for now

ulab-original
jsorg71 15 years ago
parent 4d80c52387
commit e11dce79dc

@ -143,8 +143,10 @@ clipboard_init(void)
return 0; return 0;
} }
rv = 0; rv = 0;
XSetErrorHandler(clipboard_error_handler); /* setting the error handlers can cause problem when shutting down
XSetIOErrorHandler(clipboard_fatal_handler); chansrv on some xlibs */
//XSetErrorHandler(clipboard_error_handler);
//XSetIOErrorHandler(clipboard_fatal_handler);
g_display = XOpenDisplay(0); g_display = XOpenDisplay(0);
if (g_display == 0) if (g_display == 0)
{ {

Loading…
Cancel
Save