Cairo.serial function

Check for changes in the graphics state of Cairo devices.