Libweston-Desktop Added To Wayland's Weston

Written by Michael Larabel in Wayland on 14 August 2016 at 08:44 AM EDT. 3 Comments
WAYLAND
For the past two years already there has been an effort going of building libweston, effectively punting much of the Weston code off into a library that can then be re-used by other Wayland compositors. Libweston provides most of the basic Wayland protocol components and other low-level functionality so it becomes easier for developers to build full-featured Wayland compositors. Now part of the family is Libweston-Desktop.

Libweston-Desktop aims to make it easier for handling the desktop-specific bits for Wayland compositors/shells and shares much with XDG_Shell. Basically it will house code normally found for desktop shells rather than IVI or mobile shells.

As of this morning, Libweston-Desktop was added to Weston Git. "libweston-desktop is an abstraction library for compositors wanting to support desktop-like shells. The API is designed from xdg_shell features, as it will eventually be the recommended shell for modern applications to use. In the future, adding new shell protocols support will be easier, as limited to libweston-desktop."

Libweston-Desktop in its current form amounts to just shy of 4,000 lines of code. In addition to adding this new library, the latest Weston Git also has Weston's desktop-shell ported over to make use of this library. Great timing for getting this code landed for next month's Wayland 1.12 release.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week