You are here

A taskbar for Weston 1.3.1

Some people may remember that I've been following the Wayland project for some time now... Speaking generally, this piece of work is great, well-written and helps a lot in cleaning the Linux graphics stack.

Everything isn't perfect, though. What the standard way to hide a surface (=window), e.g. ? To display it again ? To minimize it, as some desktop environments may want to provide such a feature ?

Knowing that the core Wayland protocol won't evolve rapidly, we obviously need additional API calls to do this. That's where the xdg-shell protocol comes in. It's a recent extension targeted at passing desktop-oriented hints to the compositor. The new protocol is provided (but still doesn't build by default) in the latest releases of Weston.

Although I couldn't use xdg-shell due to my current Weston 1.3.x codebase :-(, I was able to demonstrate what an implementation could look like by writing a taskbar for Weston 1.3.1.

Here is a screenshot :

And here's a video for the lazy ;-).

What's important here is not really the taskbar itself, but the xdg_shell_set_minimized() call that the client application could issue to ask for its own minimization (using the corresponding button on its titlebar e.g.).

Will be porting the code to Weston 1.4 and real xdg-shell next week. Stay tuned !

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.