shell: Introduce workspace manager interface
authorJonas Ådahl <jadahl@gmail.com>
Wed, 29 Aug 2012 20:13:01 +0000 (22:13 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 31 Aug 2012 23:51:49 +0000 (19:51 -0400)
commite9d22505495e0017ad80d092f94225d47a38552a
tree63c8717d07977084a665c8164dae168bea6d7b95
parent8de6a1ddae984238c63056ad7f77ff28de39e63e
shell: Introduce workspace manager interface

The workspace manager interface purpose is to provide clients with
control and knowledge about the current workspace state. Initially only
one function and one event exists; moving a surface and state updated
event. A workspace is represented as an index in a 1 dimensional array.

A client keeps track of the state by being broadcasted events when the
state changes, currently limited to current workspace or number of
workspaces available.

A client can send an asynchronous request to the manager asking to move
a surface to workspace identified by an index. It is up to the shell to
actually move it.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
protocol/Makefile.am
protocol/workspaces.xml [new file with mode: 0644]
src/Makefile.am
src/shell.c