with VirtGL code out X error handler is
not being set, so set it in board init code
Change-Id: I0531e2307ae1d60bf2c0285e82eca160c95b68ee
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
return global_ram_memory;
}
+#if defined(CONFIG_LINUX)
+static int x_error_handler(Display *dpy, XErrorEvent *e)
+{
+ return 0;
+}
+#endif
+
/* maru specialized device init */
static void maru_device_init(void)
{
PCIBus *pci_bus = (PCIBus *) object_resolve_path_type("", TYPE_PCI_BUS, NULL);
#if defined(CONFIG_LINUX)
+ XSetErrorHandler(x_error_handler);
XInitThreads();
Display *display = XOpenDisplay(0);
if (!display && !enable_spice) {