Very basic xdamage support.