[Feature]: Handle display
option in Wayland
#2111
Labels
display: wayland
related to Wayland backend
feature
suggest addition of new functionality that isn't currently supported in any way
Milestone
Conky currently assumes a single output/monitor is available and:
display
option is currently ignored in Wayland.Wayland uses a different naming for
display
s than X11.hostname:number.screen_number
, used bydisplay_name
inx11-settings.cc
:0
is a single X11 instance.:0.0
is the first,:0.1
is the second monitor on that instance, etc. Xinerama & RandR abstract this away and create a single "workspace" on:0.0
that spans all:0.N
displays.wl_output
events.description
which is a manufacturer name of the display.xdg-output
protocol. But likely is with the core protocol as well.hostname:number.screen_number
can be translated to wayland socket andwl_output
.number
is similar to socketwayland-<number>
.screen_number
is the ordinal number of reportedwl_output
.On wayland
wl_output
name
is a unique output identifier (per-session).We'd need to:
wl_outputs
into an array to get a mapping to their indices.wl_registry::global_remove
and handling additions.The text was updated successfully, but these errors were encountered: