diff options
author | Adam Jackson <ajax@redhat.com> | 2017-03-10 10:54:17 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-10 10:56:06 -0500 |
commit | 0ec92f06d4b3bad2e62da24ee7fb64fc88a75820 (patch) | |
tree | d20f604396e8eda289ff4ee89745c5a24c447203 /present | |
parent | f23e65f96365706c69fa781b2c6cbf3203619c9f (diff) |
Revert "present: Allow flipping with PRIME slave outputs"
This reverts commit 5c1dd4eba833ecf4ea789c8319b4e25ea1e1fab9.
Bugzilla: https://bugs.freedesktop.org/100086
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'present')
-rw-r--r-- | present/present.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/present/present.c b/present/present.c index aa9c041df..ef8904537 100644 --- a/present/present.c +++ b/present/present.c @@ -144,6 +144,10 @@ present_check_flip(RRCrtcPtr crtc, if (!screen_priv->info->flip) return FALSE; + /* Fail to flip if we have slave outputs */ + if (screen->output_slaves) + return FALSE; + /* Make sure the window hasn't been redirected with Composite */ window_pixmap = screen->GetWindowPixmap(window); if (window_pixmap != screen->GetScreenPixmap(screen) && |