Hi, Bastien Bouzerau wrote: > Hi everybody.. > After some testing on interfaces user like gnome-shell or moblin, I was > really interest by windows manager layer. It seems that both of them use > mutter(clutter + metacity). In fact gnome-shell and moblin are mutter > plugin. > So I wonder if there is any tutorial to create a mutter plugin from > scratch. > > Should I get mutter sources and start from here? Or is there another way > to create my own mutter plugin? I have already browse mutter-moblin > sources but I'm a bit lost.
There is no tutorial for this; src/compositor/plugins/default.c is a basic plugin that demonstrates the simple plugin API, and is a good place to start. Both gnome-shell and mutter-moblin go well beyond using the basic plugin interface, and to create a plugin of similar complexity you will need good understanding of window management under X in general and of Mutter, which exposes large number APIs, either directly or through GObject mechanisms, that the plugins can tap into. Tomas -- To unsubscribe send a mail to [email protected]
