diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c index 18e33dcf8..dd0ae2401 100644 --- a/backend/drm/atomic.c +++ b/backend/drm/atomic.c @@ -351,6 +351,8 @@ static void set_plane_props(struct atomic *atom, struct wlr_drm_backend *drm, atomic_add(atom, id, props->crtc_id, crtc_id); atomic_add(atom, id, props->crtc_x, (uint64_t)x); atomic_add(atom, id, props->crtc_y, (uint64_t)y); + if (plane->props.rotation) + atomic_add(atom, id, props->rotation, DRM_MODE_ROTATE_0); } static bool supports_cursor_hotspots(const struct wlr_drm_plane* plane) {