@ -376,6 +376,12 @@ clipboard_init(void)
return 0;
}
if (!g_display)
{
// prevent crash in XInternAtom
return 3;
xfuse_init();
xcommon_init();
g_incr_max_req_size = XMaxRequestSize(g_display) * 4 - 24;