Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

Provide API for accessing and configuring output devices #28

Open WLCIssuesBot opened 7 years ago

WLCIssuesBot commented 7 years ago

Issue by Cloudef Saturday Aug 15, 2015 at 20:54 GMT Originally opened as https://github.com/Cloudef/wlc/issues/37


Having information such as adapter names is useful.

WLCIssuesBot commented 7 years ago

Comment by Cloudef Saturday Aug 15, 2015 at 21:51 GMT


a687827 Connector (adapter) names and ids are now available.

WLCIssuesBot commented 7 years ago

Comment by SirCmpwn Sunday Aug 16, 2015 at 18:52 GMT


Should return unique names for each x output as well (when running on top of x), like X-1, X-2, etc. (currently gives NULL)

WLCIssuesBot commented 7 years ago

Comment by Cloudef Sunday Aug 16, 2015 at 20:23 GMT


They already have names None-1, None-2, if you need to check if running under X11, use wlc_get_backend_type()

WLCIssuesBot commented 7 years ago

Comment by SirCmpwn Sunday Aug 16, 2015 at 20:24 GMT


I get them as null, not as None.

WLCIssuesBot commented 7 years ago

Comment by Cloudef Sunday Aug 16, 2015 at 20:27 GMT


Is the output handle valid?

WLCIssuesBot commented 7 years ago

Comment by SirCmpwn Sunday Aug 16, 2015 at 20:28 GMT


https://github.com/SirCmpwn/sway/blob/master/sway/container.c#L45-L48

I have no reason to think it's not. The resolution thing works.

WLCIssuesBot commented 7 years ago

Comment by Cloudef Sunday Aug 16, 2015 at 20:59 GMT


94ce0ca

WLCIssuesBot commented 7 years ago

Comment by Cloudef Monday Aug 17, 2015 at 16:36 GMT


Changed title as this means modesetting as well.