aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 8efc9d7f..89d89c03 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -373,6 +373,13 @@ static bool test_buffer(struct wlr_drm_connector *conn,
return false;
}
+ /* Legacy never gets to have nice things. But I doubt this would ever work,
+ * and there is no reliable way to try, without risking messing up the
+ * modesetting state. */
+ if (drm->iface == &legacy_iface) {
+ return false;
+ }
+
struct wlr_drm_crtc *crtc = conn->crtc;
if (!crtc) {
return false;