Mark code from xrandr.c