Re: [PATCH weston 09/11] shell: Manage toplevel surfaces on all workspaces in one list

2013-01-26 Thread Jonas Ådahl
On Sat, Jan 26, 2013 at 5:34 PM, Bill Spitzak wrote: > On 01/26/2013 06:33 AM, Jonas Ådahl wrote: >> >> Instead of linking and unlinking per-workspace layers to the output >> cycle, keep all toplevel surfaces in one per-shell list. Shell surfaces >> now has a visibility flag, and surfaces that has

Re: [PATCH weston 09/11] shell: Manage toplevel surfaces on all workspaces in one list

2013-01-26 Thread Bill Spitzak
On 01/26/2013 06:33 AM, Jonas Ådahl wrote: Instead of linking and unlinking per-workspace layers to the output cycle, keep all toplevel surfaces in one per-shell list. Shell surfaces now has a visibility flag, and surfaces that has visibility set to true will be added to a reintroduced toplevel l

Re: Patch queue + signs of life

2013-01-26 Thread Jonas Ådahl
On Fri, Jan 25, 2013 at 2:17 AM, Kristian Høgsberg wrote: > Hi, > > I'm still here, I've just been sick for almost a week and am now > starting to get back on my feet (and back to the keyboard). I had a > pass over the patches on the list and there was a lot of good work > there, and even better,

[PATCH weston 11/11] shell: Allow changing workspace when output has no fullscreen surface

2013-01-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/shell.c b/src/shell.c index af45347..e4f8a28 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1015,13 +1015,16 @@ change_workspace(struct desktop_shell *shell, { s

[PATCH weston 10/11] shell: Update the workspace protocol to support multiple outputs

2013-01-26 Thread Jonas Ådahl
Make so that the protocol can represent and manipulate workspace states with multiple outputs. Per-output workspaces are represented as containers with unique id's. If the compositor would implement global workspaces one would just advertise one container. The desktop shell and the weston client t

[PATCH weston 09/11] shell: Manage toplevel surfaces on all workspaces in one list

2013-01-26 Thread Jonas Ådahl
Instead of linking and unlinking per-workspace layers to the output cycle, keep all toplevel surfaces in one per-shell list. Shell surfaces now has a visibility flag, and surfaces that has visibility set to true will be added to a reintroduced toplevel layer. Changing active workspace corresponds

[PATCH weston 08/11] shell: Restack surface when dragged to another output

2013-01-26 Thread Jonas Ådahl
When moving a surface from one output to another using the move grab binding, restack the surface on the current workspace in the container associated with the output the surface was moved to. Signed-off-by: Jonas Ådahl --- src/compositor.c |5 + src/compositor.h |1 + src/shell.c

[PATCH weston 07/11] shell: Initialize workspace state for new outputs

2013-01-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/compositor.c |3 +++ src/compositor.h |1 + src/shell.c | 17 + 3 files changed, 21 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index cd11f6b..207a216 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -290

[PATCH weston 06/11] shell: Organize workspace containers by output

2013-01-26 Thread Jonas Ådahl
Instead of having one global workspace container, have one container per output. This means that every output will have its own set of workspaces with its own workspace state. New surfaces are added to the current workspace on the container of the output the surface was positioned at. The workspa

[PATCH weston 05/11] Move hash table to shared/

2013-01-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- This more or less conflicts with http://lists.freedesktop.org/archives/wayland-devel/2012-December/006820.html beceause here the files are only moved and not prefixed with xwayland-. The hash table is later used by both the desktop shell plugin and the weston toolk

[PATCH weston 04/11] shell: Specify workspace when ensuring that a focus state exists

2013-01-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/shell.c b/src/shell.c index 29459ea..c5bb9c4 100644 --- a/src/shell.c +++ b/src/shell.c @@ -450,9 +450,10 @@ focus_state_create(struct weston_seat *seat, struct worksp

[PATCH weston 03/11] shell: Always bind F1-F6 to workspace changing

2013-01-26 Thread Jonas Ådahl
Simplifies shell binding configuration. Binding handlers already handles cases when number of workspaces are lower than the one triggered. Signed-off-by: Jonas Ådahl --- src/shell.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/shell.c b/src/shell.c i

[PATCH weston 02/11] shell: Move workspace set related fields into its own container struct

2013-01-26 Thread Jonas Ådahl
As a step towards implementing multiple workspace sets all workspace set parameters are moved to its own non-anonymous struct. Only one such struct is ever instantiated meaning no functional changes were made. Signed-off-by: Jonas Ådahl --- src/shell.c | 268 ++--

[PATCH weston 01/11] shell: Add helper functions for stacking top level surfaces

2013-01-26 Thread Jonas Ådahl
To keep track of what workspace a shell surface belongs to, use a helper function for stacking shell surfaces that updates a workspace reference. Signed-off-by: Jonas Ådahl --- src/shell.c | 56 +++- 1 file changed, 43 insertions(+), 13 delet

[PATCH weston 00/11] Per ouput workspaces

2013-01-26 Thread Jonas Ådahl
Hi, This series adds per-output workspaces to the desktop shell of weston. The major change is how toplevel surfaces are managed by the shell plugin. Before, surfaces were always kept in layers and workspaces was implemented by attaching/detaching layers associated with workspaces. After changing

[PATCH] Kmscon wlterm: Fix stuck key repeat bug

2013-01-26 Thread Martin Minarik
1. Depress Shift 2. Depress K 3. Release Shift 4. Release K Observed: key stuck repeat Expected: key not stuck repeating --- src/wlt_toolkit.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wlt_toolkit.c b/src/wlt_toolkit.c index b1679fb..104def2 100644 --- a/src/wlt