On Thu, 31 May 2018 12:49:14 +0300 Pekka Paalanen <ppaala...@gmail.com> wrote:
> On Wed, 30 May 2018 10:00:57 +0000 > Marius-cristian Vlad <marius-cristian.v...@nxp.com> wrote: > > > One more thing I found that using the following config: > > > > [output] > > name=HDMI-A-1 > > mode=current > > same-as=HDMI-A-2 > > > > [output] > > name=HDMI-A-2 > > mode=current > > > > I get ``Output 'HDMI-A-2' enabled with head(s) HDMI-A-1, HDMI-A-2.'' > > > > I would've expected to see ``Output 'HDMI-A-1' enabled with head(s) > > HDMI-A-1, HDMI-A-2.'' I don't know of this matters or not... the other > > way around is the same (using in HDMI-A-2 section same-as=HDMI-A-1). > > Right. The name is usually chosen by the controlling output section. > The output section with the "same-as" key is a slave section, where all > other keys are ignored. Following the chain of "same-as" keys one finds > the controlling output section, identified by not having a "same-as" > key. > > That's odd that the name didn't change with the opposite configuration. > I'll have to look into it. Hi, I tried it again, and I get what I expected: If section A has same-as=B, then the output will be named B and the configuration for both heads is taken from section B. If section B has same-as=A, then the output will be named A and the configuration is taken from section A. Do you think "same-as" is not informative enough on implying which section will actually apply as the configuration, or do you perhaps understand it the opposite of what it does? Do you have suggestions? I intended it to read as: This section/head is the same as that other named section. Thanks, pq
pgp1jyeYKrLDe.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel