Are there any examples to port existing WM from X11 to wayland? For example, porting light-weighted WMs (such as dwm
, wmii
, awesome
) to wayland. Maybe, portings dwm
to wayland is a good example.
Wayland's main advantage over X is that it starts from scratch. One of the main reasons for X's complexity is that, over the years, its role has changed. As a result, today, X11 acts largely as “a really terrible” communications protocol between the client and the window manager.
Wayland is a communication protocol that specifies the communication between a display server and its clients. A display server using the Wayland protocol is called a Wayland compositor, because it additionally performs the task of a compositing window manager.
Wayland is a display server protocol which was (at the time of writing) introduced as the default in GNOME. It is said that Wayland will eventually replace X11 as the default display server on Linux and many distributions have begun implementation of Wayland.
Some guys are porting Mutter to Wayland and gave a presentation about it on FOSDEM 2012. Here's the link:
Copied from the website link:
Writing a Wayland Compositor
Neil and Robert will discuss their own experience of writing a Wayland compositor, where they have been adaping the Gnome Mutter compositor into a hybrid X and Wayland compositor. The talk aims to provide general guidance on writing a hybrid X and Wayland compositor without going into many Mutter specifics.
This might be a starting point for you...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With