XtoQ should not have a direct dependence on xcb
Submitted by Jeremy Huddleston Sequoia
Assigned to Jeremy Huddleston Sequoia
Description
We want to develop libxcwm to be a complete library abstracting away xcb, so we should not have any dependency on xcb within XtoQ like:
~/src/freedesktop/src/libxcwm/src/xtoq (master) $ grep xcb * XtoqController.h: xcb_image_t *imageT; XtoqController.m: xcwm_image_t *xcbImage; XtoqController.m: xcbImage = xcwm_get_image(windowContext); XtoqController.m: imageRep = [[XtoqImageRep alloc] initWithData:xcbImage x: 0 y: 0]; XtoqImageRep.h:#import <xcb/xcb_image.h> XtoqImageRep.h: xcb_image_t *imageT; XtoqImageRep.h: * Return Yes if the xcb_image_t it is passed is not null, else No. XtoqImageRep.h:- (BOOL)canInitWithData:(xcb_image_t *)imageData; XtoqImageRep.m:- (BOOL)canInitWithData:(xcb_image_t *)imageData {