parent
bc32b334d5
commit
6abac56d9d
|
@ -298,13 +298,19 @@ evas_software_xlib_x_output_buffer_new(Display *d, Visual *v, int depth, int w,
|
|||
{
|
||||
XErrorHandler ph;
|
||||
|
||||
if (try_shm == 2) // only needed during testing
|
||||
{
|
||||
XSync(d, False);
|
||||
_x_err = 0;
|
||||
ph = XSetErrorHandler((XErrorHandler)
|
||||
x_output_tmp_x_err);
|
||||
}
|
||||
XShmAttach(d, xob->shm_info);
|
||||
if (try_shm == 2) // only needed during testing
|
||||
{
|
||||
XSync(d, False);
|
||||
XSetErrorHandler((XErrorHandler)ph);
|
||||
}
|
||||
if (!_x_err)
|
||||
{
|
||||
// printf("SHM++ ID=%i -> %i bytes [%i creates]\n",
|
||||
|
|
Loading…
Reference in New Issue