Commit 602005bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Ignore X11 errors on Maemo

parent a66a2bc5
......@@ -3009,8 +3009,13 @@ static int X11ErrorHandler( Display * display, XErrorEvent * event )
return i_shm_major = 0;
#endif
#ifndef HAVE_OSSO
XSetErrorHandler(NULL);
return (XSetErrorHandler(X11ErrorHandler))( display, event );
#else
/* Work-around Maemo Xvideo bug */
return 0;
#endif
}
#ifdef MODULE_NAME_IS_x11
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment