[PATCH weston] compositor-x11: Consider output position when computing relative motion

2013-03-07 Thread Scott Moreau
This fixes pointer movement for multiple x11 outputs. This was broken when switching to relative events. --- I do not currently have a multi-output setup to test drm but it's possible that evdev needs a similar fix. src/compositor-x11.c |8 1 file changed, 4 insertions(+), 4 deletio

[PATCH weston 9/9] shell: Implement maximize menu button functionality

2013-03-07 Thread Scott Moreau
Add maximize button for list item drop down menu. --- clients/desktop-shell.c | 44 +++- clients/window.c|6 ++ src/shell.c | 23 +++ 3 files changed, 68 insertions(+), 5 deletions(-) diff --git a/clients/

[PATCH weston 8/9] shell: Install protocol for maximize menu button

2013-03-07 Thread Scott Moreau
--- protocol/desktop-shell.xml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml index 51219d2..20e2eb9 100644 --- a/protocol/desktop-shell.xml +++ b/protocol/desktop-shell.xml @@ -87,6 +87,12 @@ The shell can use this

[PATCH weston 7/9] toytoolkit: Enable titlebar minimize button functionality

2013-03-07 Thread Scott Moreau
--- clients/window.c | 25 - clients/window.h |3 +++ src/shell.c |9 - 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index d13a1ac..7093a38 100644 --- a/clients/window.c +++ b/clients/window.c @@

[PATCH weston 6/9] shell: Install listeners to reflect shell surface protocol changes

2013-03-07 Thread Scott Moreau
--- clients/simple-egl.c | 26 +- clients/simple-shm.c | 26 +- clients/simple-touch.c | 26 +- clients/window.c | 26 +- src/shell.c|9 - 5 files changed, 108

[PATCH weston 5/9] shell: Implement simple dnd for window list item reordering

2013-03-07 Thread Scott Moreau
This allows the user to rearrange the list items by drag-and-drop. There is no drag icon, only preliminary functionality. Eventually, this could be expanded to use the wayland dnd protocol. --- clients/desktop-shell.c | 85 +++ 1 file changed, 85 inser

[PATCH weston 4/9] shell: Implement menu for window list items

2013-03-07 Thread Scott Moreau
Right-click dropdown menu for window list items. This patch introduces a simple minimize feature. The surface is removed from the layer list on minimize and re-added on unminimize. The close item sends the client a SIGTERM signal. --- clients/desktop-shell.c | 154

[PATCH weston 3/9] shell: Install protocol for minimize, focus and close

2013-03-07 Thread Scott Moreau
--- protocol/desktop-shell.xml | 20 1 file changed, 20 insertions(+) diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml index 2fed660..51219d2 100644 --- a/protocol/desktop-shell.xml +++ b/protocol/desktop-shell.xml @@ -87,6 +87,18 @@ The shell ca

[PATCH weston 2/9] shell: Implement panel window list

2013-03-07 Thread Scott Moreau
This patch uses the special surface_data interface to send information about the surface to the shell. The shell then uses this information to render a window list in the panel. --- clients/desktop-shell.c | 479 +-- data/Makefile.am|1 + da

[PATCH weston 1/9] shell: Install protocol for surface_data objects

2013-03-07 Thread Scott Moreau
This patch introduces a new surface_data_manager interface that allows the compositor to send surface data to the shell client, using the accompanying surface_data object interface. This allows the shell client to receive information about surfaces to build a window list, for example. --- protocol

[PATCH wayland v3] protocol: Add minimize/maximize protocol

2013-03-07 Thread Scott Moreau
In order for clients to notify the compositor that they wish to be minimized, a minimize request is needed. This can be used to minimize the surface when a user clicks a minimize button for example. The compositor needs a way to tell clients to maximize and unmaximize their surfaces. The desktop s

Introduce panel window list and surface minimize protocol

2013-03-07 Thread Scott Moreau
This series implements a window list for the panel. It introduces protocol for minimize/maximize control of shell_surfaces. It also provides a basic minimize implementation. Admittedly I am a little confused about the interface version system. I am wondering if we should have something such as a c

X.Org Google Summer of Code

2013-03-07 Thread Alex Deucher
It's that time of year again. The X.Org foundation is looking for volunteers to organize the Google Summer of Code application for the X.Org foundation. Historically the X.Org GSoC application has encompassed not just X, but the entire open source graphics ecosystem (mesa, X, kernel, wayland, etc.

[PATCH wayland] client: Check reference count only for destroyed proxies

2013-03-07 Thread Jonas Ådahl
The llvm static analyzer tool reported "Use of memory after it is freed" in dispatch_event() because the proxy is used after being freed if the reference count reaches zero without the destroyed flag being set. This would never happen in practice because the owner of the proxy object always holds a

Re: Non-Intel DDXes need love

2013-03-07 Thread Rune Kjær Svendsen
On Thu, Mar 7, 2013 at 6:51 PM, wrote: > I haven't found any xwayland problems specific to radeon while using it > (without > using multi-monitor). > I have an outstanding bug with XWayland and radeon. RAOF said he'd take a look at it, but it hasn't gotten any further. A simple way to trigger it

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Bill Spitzak
On 03/07/2013 02:32 AM, Pekka Paalanen wrote: At the very least, we're going to need flags on enter/leave events to note when the pointer left towards a subsurface. Why exactly? The client will receive an enter for the sub-surface as the very next thing. If it is about the race of an app rep

[PATCH] Eat scroll event if a key binding function is executed because of it.

2013-03-07 Thread Rune K. Svendsen
From: "Rune K. Svendsen" When an axis (scroll) event results in a key binding function being executed, eat the scroll event so the underlying window doesn't receive it. Thanks to Scott Moreau for helping me solve this. --- src/bindings.c |5 - src/compositor.c |9 + src/com

Non-Intel DDXes need love

2013-03-07 Thread darxus
These: https://github.com/RAOF/xf86-video-ati -b xwayland (Radeon / AMD) https://github.com/RAOF/xf86-video-nouveau -b xwayland (Nvidia) Instructions here should be up to date: http://wayland.freedesktop.org/xserver.html Except the nvidia / nouveau stuff needs this: http://lists.freedesktop.org/

[PATCH weston] Fix memory leaks

2013-03-07 Thread Scott Moreau
Fix a couple leaks caught by valgrind. --- src/gl-renderer.c |2 ++ src/shell.c |1 + 2 files changed, 3 insertions(+) diff --git a/src/gl-renderer.c b/src/gl-renderer.c index a5dc2f3..3dfcd15 100644 --- a/src/gl-renderer.c +++ b/src/gl-renderer.c @@ -1663,6 +1663,8 @@ gl_renderer_d

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Kai-Uwe Behrmann
Am 07.03.2013 12:56, schrieb Pekka Paalanen: On Thu, 07 Mar 2013 12:32:21 +0100 Kai-Uwe Behrmann wrote: Statement: The flattened output of overlapping transparent regions depend on the intented order of painting the graph during compositing. Question: Does your following annotation has a sid

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Thu, 07 Mar 2013 12:32:21 +0100 Kai-Uwe Behrmann wrote: > Am 07.03.2013 11:44, schrieb Pekka Paalanen: > > On Thu, 07 Mar 2013 07:25:17 +0100 > > Kai-Uwe Behrmann wrote: > >>> The biggest improvement over v1 is that we have some thought-out > >>> commit behaviours. It is possible to resize a

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Kai-Uwe Behrmann
Am 07.03.2013 11:44, schrieb Pekka Paalanen: On Thu, 07 Mar 2013 07:25:17 +0100 Kai-Uwe Behrmann wrote: The biggest improvement over v1 is that we have some thought-out commit behaviours. It is possible to resize a window so that all surfaces stay in sync on screen, and it is also possible to h

[PATCH wayland] protocol: remove implicit attach semantics

2013-03-07 Thread Pekka Paalanen
To match the Weston commit e7144fd175d1d68b91aa0cec7ab63381b79385a9: Author: Kristian Høgsberg Date: Mon Mar 4 12:11:41 2013 -0500 compositor: Only send release event in response to wl_surface.attach Remove the implicit attach semantics from wl_surface.commit and .attach. Before, if you d

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Thu, 07 Mar 2013 07:25:17 +0100 Kai-Uwe Behrmann wrote: > Hello Pekka, > > Am 22.02.2013 16:07, schrieb Pekka Paalanen: > > - A totally new demo client presenting sub-surfaces, including > >Cairo-image rendered window with a pure EGL/GL widget in a > >sub-surface, running independentl

Re: [RFC Weston 00/10] Sub-surfaces v2

2013-03-07 Thread Pekka Paalanen
On Wed, 6 Mar 2013 12:58:58 -0800 Daniel Stone wrote: > Hi, > > On 22 February 2013 07:07, Pekka Paalanen wrote: > > > The biggest improvement over v1 is that we have some thought-out > > commit behaviours. It is possible to resize a window so that all > > surfaces stay in sync on screen, and