Re: [PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-03-27 Thread Manuel Bachmann
Hi Pekka, thanks a lot for getting this on the rails ! "I'm not so sure about the pointer_set_focus here. Shuffling surfaces is supposed to trigger a repick, which will reassign the pointer focus. However, it seems something is off." The "pointer_set_focus(... 0, 0)" thing was added for a client

[PATCH weston] nested-client: fix typo

2015-03-27 Thread Manuel Bachmann
From: Manuel Bachmann Should be "client" instead of "nclient". Signed-off-by: Manuel Bachmann --- clients/nested-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/nested-client.c b/clients/nested-client.c index 615f589..27dc54f 100644 --- a/clients/nested-cli

[PATCH weston] toytoolkit: fix new EGL extensions fallback typedefs

2015-03-27 Thread Manuel Bachmann
From: Manuel Bachmann The dummy typedefs for "get_platform_display()" and "create_platform_window()" were badly defined, which prevented building Weston on older systems. Signed-off-by: Manuel Bachmann --- shared/platform.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -

Re: [PATCH wayland v3] Add support for direct file reading and writing in wayland-scanner.

2015-03-27 Thread Bill Spitzak
I do not think there are any problems with this patch, as it is compatible with any of the proposed future enhancements (ie they will still parse all the command lines that this one accepts). On 03/27/2015 06:04 AM, Pekka Paalanen wrote: On Tue, 03 Mar 2015 09:38:22 +0100 Hardening wrote: L

[PATCH libinput] evdev: Do not mark tablet touchscreens as tablets

2015-03-27 Thread Jason Gerecke
Devices like the Cintiq 24HDT are marked with both ID_INPUT_TABLET and ID_INPUT_TOUCHSCREEN in udev. Be sure that we don't try to use such a device as a tablet. Signed-off-by: Jason Gerecke --- For Peter's tablet-support branch. src/evdev.c | 10 +- 1 file changed, 5 insertions(+), 5 de

Re: [RFC v2 libinput 2/2] buttonset: implement buttonset handling for Wacom tablet pads

2015-03-27 Thread Jason Gerecke
Did some practical testing of these patches and noticed two issues with the touchstrips: On 3/17/2015 11:58 PM, Peter Hutterer wrote: From: Benjamin Tissoires Same approach as evdev-tablet (started as copy/paste), with axis and buttons adjusted. Wacom's handling of pad devices requires a lot

Re: Weston RDP on ARM

2015-03-27 Thread Heikki Sarkanen
I tried without FreeScale pathces which unfortunately doesn't make a difference with the headless RDP (obviously I cannot use fbdev backend without those pathces). There might still be some build options: https://github.com/hsarkanen/poky/blob/wayland_1.7.0/meta/recipes-graphics/wayland/weston_1.7.

Re: Weston RDP on ARM

2015-03-27 Thread Heikki Sarkanen
Hi Manuel, Thanks for the suggestion. Unfortunately I already tried stable-1.1 branch latest revision and 2604ff20bd12e810cfeed735b80dbe90020d781c. End result was similar for me than mentioned in this thread (http://lists.freedesktop.org/archives/wayland-devel/2015-February/020088.html): too many

Re: [RFC wayland 1/2] server: implement intact resources

2015-03-27 Thread Marek Chalupa
On Tue, Mar 24, 2015 at 5:47 AM, Hardening wrote: > Le 19/03/2015 09:11, Marek Chalupa a écrit : > > When server looses some capability (like pointer or keyboard), > > it takes some time to get this information to clients. > > When client sends request with new_id argument to the object > > that

Re: [PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-03-27 Thread Pekka Paalanen
On Mon, 16 Feb 2015 11:52:47 +0100 Manuel Bachmann wrote: > From: Manuel Bachmann > > 2 things were wrong with the minimization code : > - if the minimized surface was fullscreen, the shell would keep > its fullscreen mode on and only display a black background ; > - keyboard focus was unset,

Re: [PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 01:32, Peter Hutterer wrote: On Thu, Mar 26, 2015 at 09:57:27AM +0100, Hans de Goede wrote: Change vector_get_direction input to a normalized_coords type rather then typo, then -> than passing in a separate x,y pair, and rename it normalized_get_direction to match. Since it

Re: [PATCH weston 1/2] desktop-shell: remove dead unminimization code

2015-03-27 Thread Pekka Paalanen
On Mon, 16 Feb 2015 11:52:13 +0100 Manuel Bachmann wrote: > From: Manuel Bachmann > > The "set_minimized(surface, 0)" function call was never > used anywhere, and not really respecting naming > conventions. > > Signed-off-by: Manuel Bachmann > --- > desktop-shell/shell.c | 33 ++---

Re: [PATCH wayland v3] Add support for direct file reading and writing in wayland-scanner.

2015-03-27 Thread Pekka Paalanen
On Tue, 03 Mar 2015 09:38:22 +0100 Hardening wrote: > Le 03/03/2015 09:11, Pekka Paalanen a écrit : > > On Mon, 2 Mar 2015 16:08:00 +0200 > > Jussi Pakkanen wrote: > > > >> Add support for direct file reading and writing in wayland-scanner. > >> > >> Signed-off-by: Jussi Pakkanen > >> > >> --

Re: [PATCH weston 0/6] Add client driven repaint and clock for testing

2015-03-27 Thread Pekka Paalanen
On Fri, 19 Dec 2014 12:45:44 -0600 Derek Foreman wrote: > This series allows test clients to put the compositor into a new "test mode" > where the presentation clock is controlled by the client, and the client > can request a repaint. > > Only the headless compositor supports this for now. > >

Re: [PATCH weston 6/6] compositor-headless: Add test mode

2015-03-27 Thread Pekka Paalanen
On Tue, 27 Jan 2015 12:38:46 + Daniel Stone wrote: > Hi, > > On 19 December 2014 at 18:45, Derek Foreman wrote: > > static int > > headless_output_repaint(struct weston_output *output_base, > >pixman_region32_t *damage) > > { > > struct headless_output *ou

Re: [PATCH weston 5/6] test: Add client driven repaint

2015-03-27 Thread Pekka Paalanen
On Fri, 19 Dec 2014 12:45:49 -0600 Derek Foreman wrote: > Allow a test client to call for a repaint. > > Signed-off-by: Derek Foreman > --- > protocol/wayland-test.xml | 1 + > tests/weston-test.c | 9 + > 2 files changed, 10 insertions(+) > > diff --git a/protocol/wayland-test.

Re: [PATCH weston v2 3/6] test: Add clock_settime()

2015-03-27 Thread Pekka Paalanen
On Mon, 22 Dec 2014 16:09:58 -0600 Derek Foreman wrote: > Add a way to set the presentation clock to an arbitrary value, but only > when in test mode. > > Signed-off-by: Derek Foreman > --- > protocol/wayland-test.xml | 9 + > src/compositor.c | 23 +++ >

Re: [PATCH weston v2 1/6] test: Add a compositor test-mode

2015-03-27 Thread Pekka Paalanen
On Tue, 27 Jan 2015 12:33:19 + Daniel Stone wrote: > Hi, > > On 22 December 2014 at 22:08, Derek Foreman wrote: > > diff --git a/protocol/wayland-test.xml b/protocol/wayland-test.xml > > index 18b6625..292abe9 100644 > > --- a/protocol/wayland-test.xml > > +++ b/protocol/wayland-test.xml >

Re: [PATCH wayland] protocol: add a note about the version bumps on wl_seat

2015-03-27 Thread Pekka Paalanen
On Fri, 27 Mar 2015 15:46:03 +0800 Jonas Ådahl wrote: > On Fri, Mar 27, 2015 at 09:32:51AM +0200, Pekka Paalanen wrote: > > On Wed, 25 Mar 2015 08:18:11 +0800 > > Jonas Ådahl wrote: > > > > > On Wed, Mar 25, 2015 at 09:37:21AM +1000, Peter Hutterer wrote: > > > > See the explanation by Jonas he

Re: [PATCH wayland] protocol: add a note about the version bumps on wl_seat

2015-03-27 Thread Jonas Ådahl
On Fri, Mar 27, 2015 at 09:32:51AM +0200, Pekka Paalanen wrote: > On Wed, 25 Mar 2015 08:18:11 +0800 > Jonas Ådahl wrote: > > > On Wed, Mar 25, 2015 at 09:37:21AM +1000, Peter Hutterer wrote: > > > See the explanation by Jonas here: > > > http://lists.freedesktop.org/archives/wayland-devel/2015-M

Re: [PATCH weston 0/6] Configuration file control

2015-03-27 Thread Pekka Paalanen
On Thu, 26 Mar 2015 11:25:40 -0700 Bryce Harrington wrote: > On Thu, Mar 26, 2015 at 08:45:21AM +0900, Tanibata, Nobuhiko (ADITJ/SWG) > wrote: > > > > > -Original Message- > > > From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] > > > On Behalf Of Jonny Lamb > > >

Re: [PATCH wayland] protocol: add a note about the version bumps on wl_seat

2015-03-27 Thread Pekka Paalanen
On Wed, 25 Mar 2015 08:18:11 +0800 Jonas Ådahl wrote: > On Wed, Mar 25, 2015 at 09:37:21AM +1000, Peter Hutterer wrote: > > See the explanation by Jonas here: > > http://lists.freedesktop.org/archives/wayland-devel/2015-March/020814.html > > > > --- > > One thought while writing this: would it m

Re: [PATCH weston 0/4] Some transform fixes

2015-03-27 Thread Pekka Paalanen
On Tue, 24 Mar 2015 22:09:05 -0700 Bryce Harrington wrote: > On Tue, Mar 24, 2015 at 11:36:12AM -0500, Derek Foreman wrote: > > Zoom broke in 87535e24 "zoom: use pixels instead of gl co-ordinates" > > was fixed for some transforms in 0f67941c "compositor: use > > weston_matrix_transform for west

Re: [PATCH weston] xwayland: Correct input for undecorated clients

2015-03-27 Thread Pekka Paalanen
On Sat, 21 Mar 2015 21:24:43 -0700 "Jasper St. Pierre" wrote: > We were correctly handling decorated and fullscreen clients, but left > uninitialized values in the input region for undecorated clients. Fix > this behavior. > --- > xwayland/window-manager.c | 12 ++-- > 1 file changed, 6