Re: Some problems during/after 1st wayland build

2012-09-01 Thread Knut Petersen
1:http://wayland.freedesktop.org/building.html misses that building weston will fail without a recent libwebp fromhttp://git.chromium.org/webm/libwebp.git. I seem to be building it successfully without libwebp. More details? An old version of libwebp (0.1.2-4.1.2) used by openSuSE 12.1 was

Re: Some problems during/after 1st wayland build

2012-09-01 Thread darxus
On 09/01, Knut Petersen wrote: > 1: http://wayland.freedesktop.org/building.html misses that building weston > will fail without a recent libwebp from > http://git.chromium.org/webm/libwebp.git. I seem to be building it successfully without libwebp. More details? > 2. http://wayland.freedesktop

[RFC weston 3/3] eventdemo: add logging of relative motion

2012-09-01 Thread Philipp Brüschweiler
--- clients/eventdemo.c | 33 + 1 Datei geändert, 29 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) diff --git a/clients/eventdemo.c b/clients/eventdemo.c index 569a8c1..db807ec 100644 --- a/clients/eventdemo.c +++ b/clients/eventdemo.c @@ -76,6 +76,9 @@ static int lo

[RFC weston 2/3] toytoolkit: add support for relative pointers

2012-09-01 Thread Philipp Brüschweiler
Only the motion events of relative_pointers are acted upon, as the other events are identical to the "normal" pointer. --- clients/window.c | 76 ++-- clients/window.h | 7 ++ 2 Dateien geändert, 81 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-

[RFC weston 1/3] compositor: implement relative motion

2012-09-01 Thread Philipp Brüschweiler
notify_motion() now takes both absolute and relative motion parameters and relays this motion to the grab. The grab can then send the absolute motion to the "normal" pointer and the relative motion to the relative pointer. Support for raw pointers should work analogously, but is not implemented ye

[RFC wayland] seat: add wl_relative_pointer

2012-09-01 Thread Philipp Brüschweiler
This pointer is equivalent to the "normal" pointer, except that it sends relative motion events. --- protocol/wayland.xml | 93 +++ src/data-device.c| 3 +- src/wayland-server.c | 101 +++ src/waylan

Re: [PATCH wayland] Add a relative_grab request to the wl_shell_surface interface

2012-09-01 Thread Philipp Brüschweiler
The consensus seems to be that we need relative/raw motion and that it should be orthogonal to clipping/grabbing. I have now tried my hand at implementing relative motion by introducing a wl_relative_pointer (no raw motion yet, but it should not be hard to extend the implementation analogously). Th

[PATCH] toytoolkit: supply correct widget in motion_handler callback

2012-09-01 Thread Philipp Brüschweiler
--- clients/window.c | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/clients/window.c b/clients/window.c index 4ddbd2f..330d96f 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2013,7 +2013,7 @@ pointer_handle_motion(void *data, struct wl_pointer *point

[PATCH] workspaces: don't segfault on invalid move_surface_to_workspace request

2012-09-01 Thread Philipp Brüschweiler
Also fixes the off-by-one in toytoolkit that exposed the issue. --- clients/window.c | 2 +- src/shell.c | 4 2 Dateien geändert, 5 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/clients/window.c b/clients/window.c index 472aabf..4ddbd2f 100644 --- a/clients/window.c +++ b/clie

Re: [PATCH weston 0/5] rendering optimizations

2012-09-01 Thread Scott Moreau
I see now it's Super+Alt+Space. Very cool and very nice work guys! ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH weston 0/5] rendering optimizations

2012-09-01 Thread Scott Moreau
> > I don't think it has been pushed just yet > http://cgit.freedesktop.org/wayland/weston/log > I do think this patch set should be tested more thoroughly though. I have > not tested it at all > yet but I will if requested (and definitely will if it is in fact > committed). > > > Regards, > > Scot

Re: [PATCH weston 0/5] rendering optimizations

2012-09-01 Thread Scott Moreau
> Kristian Høgsberg wrote: > > Very cool, thanks to you and Pekka for figuring this out. Committed. > > Oops, we were still flushing out the remaining bugs in there :-o > http://lists.freedesktop.org/archives/wayland-devel/2012-August/005165.html > > But I guess the remaining bugs are hard enough

Some problems during/after 1st wayland build

2012-09-01 Thread Knut Petersen
Hi everybody! Some comments / suggestions / bug reports: 1: http://wayland.freedesktop.org/building.html misses that building weston will fail without a recent libwebp from http://git.chromium.org/webm/libwebp.git. 2. http://wayland.freedesktop.org/building.html misses that after building wes

Re: [PATCH weston 0/5] rendering optimizations

2012-09-01 Thread Pekka Paalanen
On Fri, 31 Aug 2012 19:46:50 -0400 Kristian Høgsberg wrote: > On Thu, Aug 30, 2012 at 04:47:16PM -0500, Rob Clark wrote: > > From: Rob Clark > > > > This patchset is an updated version of my earlier patches, plus a > > bunch of updates from Pekka. Some have Pekka's fixes have been > > squashed