[Xcb] Re: Update for RandR 1.2 name changes.
Jamey Sharp
jamey at minilop.net
Thu Nov 30 17:07:45 PST 2006
On Thu, Nov 30, 2006 at 12:03:02PM -0800, Ian Osgood wrote:
> - if (setit) xcb_randr_select_input (c, root->root, XCB_RANDR_SM_SCREEN_CHANGE_NOTIFY);
> + if (setit) xcb_randr_select_input (c, root->root, XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE);
>
> if (setit) {
> xcb_randr_set_screen_config_cookie_t sscc;
> @@ -422,7 +422,7 @@ main (int argc, char **argv)
> sce->timestamp, sce->config_timestamp);
> printf(" Rotation = %x\n", sce->rotation);
> printf(" %d X %d pixels, %d X %d mm\n",
> - sce->width, sce->height, sce->mwidth, sce->mheight);
> + sce->width, sce->height, sce->mmWidth, sce->mmHeight);
Oops, these are API changes. For libxcb, at least, we're committed to
not doing that. libxcb-randr is more acceptable to me, but if we can
make things work without API changes I'll be happier.
Were these changes to the 1.1 portion of the randr spec necessary?
--Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20061130/22ee8124/attachment.pgp
More information about the Xcb
mailing list