Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to port WM to wayland?

Tags:

x11

xorg

dwm

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.

like image 563
Vivodo Avatar asked May 13 '12 02:05

Vivodo


People also ask

Is Wayland better than Xorg?

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.

What is a Wayland terminal?

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.

What is GNOME Wayland?

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.


1 Answers

Some guys are porting Mutter to Wayland and gave a presentation about it on FOSDEM 2012. Here's the link:

  • http://lanyrd.com/2012/fosdem/spghc/

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...

like image 88
pzanoni Avatar answered Sep 19 '22 09:09

pzanoni