apply raster's changes to the xcb engine

SVN revision: 46134
This commit is contained in:
Vincent Torri 2010-02-13 12:28:08 +00:00
parent df7f6cdaa7
commit 0a87819b44
1 changed files with 12 additions and 7 deletions

View File

@ -327,16 +327,21 @@ evas_software_xcb_x_output_buffer_new(xcb_connection_t *c,
/* XErrorHandler ph; */ /* XErrorHandler ph; */
/* EventHandlers eh; */ /* EventHandlers eh; */
free(xcb_get_input_focus_reply(c, xcb_get_input_focus_unchecked(c), NULL)); if (try_shm == 2) // only needed during testing
_xcb_err = 0; {
/* ph = XSetErrorHandler((XErrorHandler) */ free(xcb_get_input_focus_reply(c, xcb_get_input_focus_unchecked(c), NULL));
/* x_output_tmp_x_err); */ _xcb_err = 0;
/* ph = XSetErrorHandler((XErrorHandler) */
}
xcb_shm_attach(c, xcb_shm_attach(c,
xcbob->shm_info->shmseg, xcbob->shm_info->shmseg,
xcbob->shm_info->shmid, 0); xcbob->shm_info->shmid, 0);
free(xcb_get_input_focus_reply(c, xcb_get_input_focus_unchecked(c), NULL)); if (try_shm == 2) // only needed during testing
/* XSetErrorHandler((XErrorHandler)ph); */ {
free(xcb_get_input_focus_reply(c, xcb_get_input_focus_unchecked(c), NULL));
/* XSetErrorHandler((XErrorHandler)ph); */
}
if (!_xcb_err) if (!_xcb_err)
{ {
xcbob->bpl = xcbob->image->stride; xcbob->bpl = xcbob->image->stride;