winft / wrapland

Qt/C++ library wrapping libwayland
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Provide master output class #70

Closed romangg closed 5 months ago

romangg commented 3 years ago

We have output-device, output and xdg-output classes that need to be created all on their own by the compositor. In reality though they act always together with the output-device class being the one that exists over the whole time an output is connected.

We can just use that one as a "master output class" (we can rename it to output) and provide API in there to do all the things that wl_output and xdg-output need. These are then created internally instead of explicitly by the compositor.

romangg commented 3 years ago

marked this issue as related to #71

romangg commented 3 years ago

mentioned in commit a58829dfaa421ad05f662a169627a6c1a2938ec2