compostor-drm: check the right flags
compositor-drm: restore flag