Preparation for better xrandr support