applied patch of Paul Liu to allow onthefly resizing due to xrandr changes