xcb_get_input_focus_unchecked(xcbob->connection),
NULL));
xcb_shm_detach(xcbob->connection, xcbob->shm_info->shmseg);
- free(xcbob->image->data);
xcb_image_destroy(xcbob->image);
shmdt(xcbob->shm_info->shmaddr);
shmctl(xcbob->shm_info->shmid, IPC_RMID, 0);
xcbob->image, *xcbob->shm_info,
0, 0,
x, y,
- xcbob->image->width, xcbob->image->height,
+ xcbob->w, xcbob->h,
0);
if (sync)
free(xcb_get_input_focus_reply(xcbob->connection,
sz = lbytes * h;
EINA_LIST_FOREACH(shmpool, l, xcbob2)
{
- int szdif;
+ int szdif;
if ((xcbob2->image->depth != depth) ||
(xcbob2->connection != conn))
NULL);
if (buf->priv.x11.xcb.mask)
obr->mxcbob = evas_software_xcb_x_output_buffer_new(buf->priv.x11.xcb.conn,
- buf->priv.x11.xcb.depth,
- buf->w, buf->h,
- use_shm,
- NULL);
+ 1,
+ buf->w, buf->h,
+ use_shm,
+ NULL);
}
else if ((buf->rot == 90) || (buf->rot == 270))
{
NULL);
if (buf->priv.x11.xcb.mask)
obr->mxcbob = evas_software_xcb_x_output_buffer_new(buf->priv.x11.xcb.conn,
- buf->priv.x11.xcb.depth,
- buf->h, buf->w,
- use_shm,
- NULL);
+ 1,
+ buf->h, buf->w,
+ use_shm,
+ NULL);
}
}
/* FIXME: We should be able to remove this memset, but somewhere in the process
im->extended_info = obr;
if (buf->priv.x11.xcb.mask)
obr->mxcbob = _find_xcbob(buf->priv.x11.xcb.conn,
- buf->priv.x11.xcb.depth,
+ 1,
w, h,
use_shm,
NULL);
NULL);
if (buf->priv.x11.xcb.mask)
obr->mxcbob = _find_xcbob(buf->priv.x11.xcb.conn,
- buf->priv.x11.xcb.depth,
- w, h,
+ 1,
+ w, h,
use_shm,
NULL);
}
NULL);
if (buf->priv.x11.xcb.mask)
obr->mxcbob = _find_xcbob(buf->priv.x11.xcb.conn,
- buf->priv.x11.xcb.depth,
+ 1,
h, w,
use_shm,
NULL);