On Fri, 21 Dec 2012 14:04:02 +0200
Pekka Paalanen wrote:
> Modify surface list rebuilding in weston_output_repaint() to process
> sub-surface lists, if they are non-empty. The sub-surface list always
> contains the parent, too, if not empty.
>
> The collection of frame_callback_list is moved to
On Fri, 21 Dec 2012 14:04:00 +0200
Pekka Paalanen wrote:
> src/compositor.c | 366
> ++
> src/compositor.h | 20 +++
> 2 files changed, 386 insertions(+), 0 deletions(-)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 0a3c4c8.
So far just very basic, creating one sub-surface and painting it red.
Signed-off-by: Pekka Paalanen
---
clients/.gitignore|1 +
clients/Makefile.am |4 +
clients/subsurfaces.c | 239 +
3 files changed, 244 insertions(+), 0 deletions(
The shell needs to redirect some actions to the parent surface, when
they originally target a sub-surface. This patch implements the
following:
- When the activation binding (left button click) targets a sub-surface,
activate the parent surface instead. This also means, that a keyboard
focus sh
Modify surface list rebuilding in weston_output_repaint() to process
sub-surface lists, if they are non-empty. The sub-surface list always
contains the parent, too, if not empty.
The collection of frame_callback_list is moved to a later loop, to
streamline the surface list rebuild functions. This
For testing the protocol behaviour only:
- linking a surface to a parent does not fail
- position and placement requests do not fail
- bad linking and arguments do fail
- passing a surface as a sibling from a different set fails
- different destruction sequences do not crash
Signed-off-by: Pekka P
This commit depends on the Wayland commit "protocol: add sub-surfaces".
Implement the basic protocol for sub-surfaces:
- expose wl_subcompositor global interface
- error checking on protocol calls
- associate a parent wl_surface to a sub-surface
- introduce the sub-surface role, which is exclusive
Add protocol for sub-surfaces, wl_subcompositor as the global interface,
and wl_subsurface as the per-surface interface extension.
Signed-off-by: Pekka Paalanen
---
protocol/wayland.xml | 122 ++
1 files changed, 122 insertions(+), 0 deletions(-)
Hi all,
we started a discussion about sub-surfaces in Wayland in [1].
Based on that, and with heavy limiting of scope, I present my first
sub-surface draft:
http://cgit.collabora.com/git/user/pq/wayland.git/log/?h=subsurface-v1
http://cgit.collabora.com/git/user/pq/weston.git/log/?h=subsurface-v1
On Thu, 20 Dec 2012 14:15:56 -0800
Bill Spitzak wrote:
> Pekka Paalanen wrote:
>
> > No, I don't think it will work. The set of surfaces, which is a main
> > surface (parent) and its sub-surfaces, forms a single solid window for
> > all window management purposes. The bounding box of the whole s
10 matches
Mail list logo