Re: [PATCH 5/9] compositor: Output unplug in clone mode

2014-02-16 Thread Zhang, Xiong Y
On Fri, 2014-02-14 at 09:56 +0200, Pekka Paalanen wrote: > On Fri, 14 Feb 2014 15:17:40 +0800 > Xiong Zhang wrote: > Hi, > > just a general note: it seems the DRM backend code is getting into > pretty deep indentation levels. I would recommend splitting chunks out > into functions where you have

Re: [PATCH 5/9] compositor: Output unplug in clone mode

2014-02-13 Thread Pekka Paalanen
On Fri, 14 Feb 2014 15:17:40 +0800 Xiong Zhang wrote: > If unplugged output is a slave output, no need to restore views. > > If unplugged output is a master output which doesn't have slave > output related it, views will be restored the same as extend mode. > > If unplugged output is a master o

[PATCH 5/9] compositor: Output unplug in clone mode

2014-02-13 Thread Xiong Zhang
If unplugged output is a slave output, no need to restore views. If unplugged output is a master output which doesn't have slave output related it, views will be restored the same as extend mode. If unplugged output is a master output which have slave output related it, one slave output will be u