How to create a window manager for Wayland?

Simon Friis paldepind at linux.com
Sat Jan 8 06:22:49 PST 2011


2011/1/8 Joakim Sindholt <bacn at zhasha.com>
>
> On Sat, 2011-01-08 at 12:26 +0100, Simon Friis wrote:
> > Thanks. I will check them out.
> >
> >
> > I do know that a Wayland wm will have to be a compositor. But I don't
> > really know how complicated making a compositor is. What will I have
> > to know?
> It's not really that complex. Wayland is pretty much just a buffer
> management system, and your job in writing a compositor will be to take
> the buffers given to you by applications and render them appropriately.
> The protocol is intentionally vague in order to allow you to do pretty
> much whatever you please with the buffers. That means you could write a
> window manager that operates in 3D space, or allows rotation of windows.
> As long as you can still redirect input to the correct surfaces
> (windows) you're all set.
I will give it a try then. We'll see if I can figure out how to render
the buffers appropriately ;) .

> PS. when replying to a mailing list, you should do a group reply.
Ups! I'm sorry. I though GMail did that automatically.

> > 2011/1/7 Joakim Sindholt <bacn at zhasha.com>
> >         On Fri, 2011-01-07 at 17:22 +0100, Simon Friis wrote:
> >         > Hi!
> >         >
> >         >
> >         >
> >         > I'm interested in creating a window manager for Wayland.
> >         I've a basic
> >         > understanding of how it's done in X.org with Xlib. Does
> >         there exist
> >         > any documentation on how to create a window manager for
> >         Wayland?
> >         >
> >         >
> >         > Best
> >         > - paldepind
> >
> >
> >         Look in compositor/compositor-*.c to see how the current ones
> >         are
> >         implemented. Just in case you don't know: you're going to be
> >         implementing a compositor, not just a wm.
> >
> >
> >
> >
>
>


More information about the wayland-devel mailing list