Work around crash in clipboard

master
Timothy Pearson 6 years ago
parent 98d6140129
commit c5bab5b98a

@ -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;

Loading…
Cancel
Save