先贴一张Wayland SW Architecture Diagram, refer to:https://wayland.freedesktop.org/architecture.html The kernel gets an event and sends it to the compositor. This is similar to the X case, which is great, since we get to reuse all the input drivers in the