[PATCHv4] Add name event to xdg-output
Pekka Paalanen
ppaalanen at gmail.com
Wed Apr 18 07:27:51 UTC 2018
On Mon, 16 Apr 2018 11:14:51 -0400
Drew DeVault <sir at cmpwn.com> wrote:
> On 2018-04-16 2:57 PM, Jonas Ã…dahl wrote:
> > I'd still like a bit more clarification about what to expect of this
> > string. What I'm trying to avoid is one compositor sending "eDP-1" while
> > another sends "Built-in Display". For example, the first is suitable for
> > command line interfaces (e.g. movie-player --fullscreen-on HDMI-2), but
> > the second is suitable for GUI's (e.g. a widget for selecting what
> > monitor to play a movie on). If it can be either one, I don't see its
> > usefulness in a generic client.
>
> I'm explicitly not trying to avoid that. To me it's acceptable that one
> compositor uses "eDP-1" and another uses "Built-in Display".
Hi,
FWIW, I would personally be ok with the vague definition. First, I
don't think that apps that use command line or other textual interface
to specify an output are a thing. We're aiming for a graphical user
interface, after all. Second, even if they are, the app can still offer
shorthands for the possibly complicated "names", e.g. by using the
wl_output global's name (uint). A CLI would need an option to list the
possible outputs for a user to pick in the first place.
The only thing I could criticise there is, is it really "name" or more
like "description"? One still requires them to be unique anyway. I
think calling it "description" would make people expect less of a
standardized or single-alphanumeric-word spelling. But I won't insist
on it.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180418/96314c4f/attachment.sig>
More information about the wayland-devel
mailing list