diff options
-rw-r--r-- | src/drmmode_display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 42b0b157..3f4ccfce 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -323,8 +323,11 @@ done: crtc->y = saved_y; crtc->rotation = saved_rotation; crtc->mode = saved_mode; - } else + } +#if defined(XF86_CRTC_VERSION) && XF86_CRTC_VERSION >= 3 + else crtc->active = TRUE; +#endif return ret; } |