u/ScriptorTux

From wl_display to mode event

Hello,

I am trying to figure out how to get a wl_output from a wl_display. I wish to "implement" the mode event from the wl_output.

Unless I am wrong, I need to start by instantiating a wl_display. I can one by writing:

wl_display* display = wl_display_connect(NULL)

But this is where I am stuck. I don't now how to retrieve a wl_output.

Thank you very much in advance for any help.

reddit.com
u/ScriptorTux — 10 days ago