compositor: Don't set DPMS state on start up
[profile/ivi/weston.git] / src / compositor-drm.c
index 5afbb2a..84c51ff 100644 (file)
@@ -2376,6 +2376,8 @@ err_sprite:
 err_udev_dev:
        udev_device_unref(drm_device);
 err_tty:
+       if (weston_launcher_drm_set_master(&ec->base, ec->drm.fd, 0) < 0)
+               weston_log("failed to drop master: %m\n");
        tty_destroy(ec->tty);
 err_udev:
        udev_unref(ec->udev);