Earlier quoted context omitted.
> the demo seems to contain a launcher which allows to start multiple apps and switch between them. If the count of apps is small, and all of them are written by you, it's not terribly complicated to pass exclusive access to display across processes. Only becomes too complicated if you want many apps updating their windows at the same time, or support third-party apps. > it's less work to just use the already-existin…
> it's not terribly complicated to pass exclusive access to display across processes. You're just starting to re-invent the Wayland protocol. You need to pass input too… and more of Wayland re-invented. >desktop environments are huge Weston or Cage doesn't really qualify as huge. Also, I think you underestimate the work to write a program using KMS and libinput. It's pretty easy to write a toy app, but writing a soli…
I think the main feature of WL is simultaneous multi-tasking. If you don't need that, a desktop is redundant. That's why Google made their own proprietary DM for android instead of adapting what Linux had.
> You need to pass input too
I haven't tried but I think multiple processes are fine reading from the same /dev/input/event[n] at the same time, they'll just get the same events. Therefore they may process or ignore these based on whether they rendering or not.
> I think you underestimate the work to write a program using KMS and libinput
I did it several times, both for hire and for lulz: https://github.com/Const-me/Vrmac/ drm/kms pieces are in C++ and not in that repo, but raw input is there, was easy: https://github.com/Const-me/Vrmac/tree/master/Vrmac/Input/Li...
> writing a solid framework is something else
Depends on the scope. If you only need left to right languages, couple keyboard layouts out of the 204, etc., it's reasonable.