summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index f13f53b..5eaa8ba 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1088,6 +1088,9 @@ static int omap4_hwc_prepare(struct hwc_composer_device *dev, hwc_layer_list_t*
/* mirror layers */
hwc_dev->post2_layers = dsscomp->num_ovls;
+ if (hwc_dev->ext.current.docking && (ix_docking == -1))
+ ix_docking = dsscomp->ovls[0].cfg.ix;
+
if (hwc_dev->ext.current.enabled && hwc_dev->ext_ovls) {
int ix_back, ix_front, ix;
if (hwc_dev->ext.current.docking) {