Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-22 Thread Jonas Ådahl
On Fri, Jan 23, 2015 at 03:11:31PM +1000, Peter Hutterer wrote: > On Fri, Jan 23, 2015 at 10:11:09AM +0800, Jonas Ådahl wrote: > > On Thu, Jan 22, 2015 at 04:52:50PM +0100, Hans de Goede wrote: > > > For touchscreens we always send raw touch events to the compositor, and > > > the > > > compositor

Question about graphics rendering about weston/composite

2015-01-22 Thread Yang Andy
Hi everyone I have a question about graphics rendering about weston/composite. When i launch application,there is no graphics(application image) on the display. But while i move the mouse,the graphics(application image) is renderred on the display. [Software Design] 1.Windows Manager base on w

Re: [ANNOUNCE] weston 1.6.91

2015-01-22 Thread Bryce Harrington
On Fri, Jan 23, 2015 at 11:50:07AM +0900, Tanibata, Nobuhiko (ADITJ/SWG) wrote: > > Nobuhiko Tanibata (20): > > ivi-shell: add README for ivi-shell > > protocol: add interface ivi_application extension > > ivi-shell: add IVI layout APIs > > ivi-shell: add the shell plugin fo

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-22 Thread Peter Hutterer
On Fri, Jan 23, 2015 at 10:11:09AM +0800, Jonas Ådahl wrote: > On Thu, Jan 22, 2015 at 04:52:50PM +0100, Hans de Goede wrote: > > For touchscreens we always send raw touch events to the compositor, and the > > compositor or application toolkits do gesture recognition. This makes sense > > because o

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-22 Thread Peter Hutterer
CC-ing Carlos too, I'd like to get his input here. On Thu, Jan 22, 2015 at 04:52:50PM +0100, Hans de Goede wrote: > For touchscreens we always send raw touch events to the compositor, and the > compositor or application toolkits do gesture recognition. This makes sense > because on a touchscreen w

Re: [PATCH libinput] tablet: Add a left handed mode and tests

2015-01-22 Thread Peter Hutterer
On Tue, Jan 20, 2015 at 09:58:12PM -0500, Stephen Chandler Paul wrote: > On the majority of Wacom tablets, the buttons are on the left side, opposite > of > the side where the palm is meant to rest. Because of this, it's impossible to > use the tablet with your left hand (comfortably, anyway) unle

RE: [ANNOUNCE] weston 1.6.91

2015-01-22 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> Nobuhiko Tanibata (20): > ivi-shell: add README for ivi-shell > protocol: add interface ivi_application extension > ivi-shell: add IVI layout APIs > ivi-shell: add the shell plugin for In-Vehicle Infotainment system > protocol: ivi hmi controller protocol to set up I

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-22 Thread Jonas Ådahl
On Thu, Jan 22, 2015 at 04:52:50PM +0100, Hans de Goede wrote: > For touchscreens we always send raw touch events to the compositor, and the > compositor or application toolkits do gesture recognition. This makes sense > because on a touchscreen which window / widget the touches are over is > impor

Re: Timelines for Wayland/Weston 1.7 and 1.6.1

2015-01-22 Thread Bryce Harrington
On Tue, Jan 13, 2015 at 03:43:28PM -0800, Bryce Harrington wrote: > Hi all, > > I've volunteered to help handle the 1.7 and 1.6.1 releases, including > alphas and pre-releases. This email outlines the plan; for those who've > been through a release before there should be no surprises here. > >

Re: [PATCH weston] tests: Skip buffer count test if wayland EGL extension isn't present

2015-01-22 Thread Derek Foreman
On 22/01/15 03:48 PM, Daniel Stone wrote: > Hi, > > On Tuesday, January 20, 2015, Derek Foreman > wrote: > > This also skips the test when running on the headless backend. > > > I like this part! > > > + if (strstr(extensions, "EGL_WL_bind_waylan

Re: [PATCH weston] tests: Skip buffer count test if wayland EGL extension isn't present

2015-01-22 Thread Daniel Stone
Hi, On Tuesday, January 20, 2015, Derek Foreman wrote: > This also skips the test when running on the headless backend. I like this part! > + if (strstr(extensions, "EGL_WL_bind_wayland_display") == NULL) > + skip("Wayland extensions not present.\n"); > But not this part

Re: [PATCH weston] tests: Skip buffer count test if wayland EGL extension isn't present

2015-01-22 Thread Jon A. Cruz
On 01/20/2015 11:16 AM, Derek Foreman wrote: > This also skips the test when running on the headless backend. > > Signed-off-by: Derek Foreman Looks good. One less failure here. Reviewed-by: Jon A. Cruz > --- > tests/buffer-count-test.c | 5 + > 1 file changed, 5 insertions(+) > > diff

Re: [PATCH 3/8] doc: Remove wl_map from documentation

2015-01-22 Thread Derek Foreman
On 21/01/15 11:30 PM, Bill Spitzak wrote: > Both of \cond changes these are because the current doxygen config turns > on documentation for all objects whether or not they have doxygen comments. Ahh, I somehow missed that. I just sent one of my own for wayland-server.c, because I think it's prett

[PATCH wayland] cosmetic: Move the deprecated functions back to the end of the file

2015-01-22 Thread Derek Foreman
There are functions below the "Deprecated functions below" comment that are not deprecated. Move the deprecated functions back down, and add a comment at the end of the file to try to keep this from happening again. Signed-off-by: Derek Foreman --- src/wayland-server.c | 199 +++

[RFC libinput] Add an API for touchpad gesture events

2015-01-22 Thread Hans de Goede
For touchscreens we always send raw touch events to the compositor, and the compositor or application toolkits do gesture recognition. This makes sense because on a touchscreen which window / widget the touches are over is important context to know to interpret gestures. On touchpads however we ne

[PATCH weston v2] compositor: make sure to reset views' pointers to destroyed output

2015-01-22 Thread Giulio Camuffo
When an output is destroyed reassign the output of the views that were in it, to be sure not to keep a dangling pointer which could be used later on by calling weston_surface_assign_output() on the view's surface. --- src/compositor.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/c

Re: [PATCH weston] compositor: fix usage of dangling output pointer after destroying it

2015-01-22 Thread Giulio Camuffo
Actually, this seems to cause the cursor to sometimes disappear, not sure why... A different approach would be to go through the view_list in weston_output_destroy() and reset the output pointers if needed, but I don't quite like it. 2015-01-22 16:52 GMT+02:00 Giulio Camuffo : > When an output is

Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel Stone
Hi, On 22 January 2015 at 13:46, Daniel P. Berrange wrote: > On Thu, Jan 22, 2015 at 01:30:26PM +, Daniel Stone wrote: >> Long story short, you're hacking around the entire keymap >> infrastructure and relying on guarantees which are absolutely not >> guaranteed. It works for the majority of

Re: [PATCH weston] build: install a login manager session entry

2015-01-22 Thread Bryce Harrington
On Thu, Jan 22, 2015 at 10:04:25AM +0100, Marek Chalupa wrote: > Hi, > > Got error after the last patch, so I sent another patch to fix it :) Thanks, my bad. Applied: 0b85f6d..194ca2b master -> master > Cheers, > Marek > > On 22 January 2015 at 02:19, Bryce Harrington wrote: > > > On

[PATCH weston] compositor: fix usage of dangling output pointer after destroying it

2015-01-22 Thread Giulio Camuffo
When an output is destroyed a view may still hold a pointer to it. Calling weston_view_assign_output() on one view of a surface ends up updating the output on that view and later iterating over all the views of a surface and using their output, which may be bogus. Instead, call weston_surface_assig

Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel P. Berrange
On Thu, Jan 22, 2015 at 01:30:26PM +, Daniel Stone wrote: > Hi, > > On 22 January 2015 at 08:40, Daniel P. Berrange wrote: > > On Wed, Jan 21, 2015 at 04:32:46PM -0800, Jasper St. Pierre wrote: > >> On Wed, Jan 21, 2015 at 7:03 AM, Daniel P. Berrange > >> wrote: > >> > First I wanted to conf

Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel Stone
Hi, On 22 January 2015 at 08:40, Daniel P. Berrange wrote: > On Wed, Jan 21, 2015 at 04:32:46PM -0800, Jasper St. Pierre wrote: >> On Wed, Jan 21, 2015 at 7:03 AM, Daniel P. Berrange >> wrote: >> > First I wanted to confirm what will be reported in hardware_keycode >> > for both Wayland native a

Re: [WESTON patch] Makefile: fix assigning to dist_wayland_session_DATA

2015-01-22 Thread sardemff7+wayland
On 2015-01-22 10:03, Marek Chalupa wrote: dist_wayland_session_DATA is not set anywhere before, so using += results in: error: dist_wayland_session_DATA must be set with '=' before using '+=' Signed-off-by: Marek Chalupa --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH weston] build: install a login manager session entry

2015-01-22 Thread Marek Chalupa
Hi, Got error after the last patch, so I sent another patch to fix it :) Cheers, Marek On 22 January 2015 at 02:19, Bryce Harrington wrote: > On Wed, Jan 21, 2015 at 12:53:23PM +0100, sardemff7+wayl...@sardemff7.net > wrote: > > On 2015-01-21 04:46, Bryce Harrington wrote: > > >On Sun, Dec 28,

[WESTON patch] Makefile: fix assigning to dist_wayland_session_DATA

2015-01-22 Thread Marek Chalupa
dist_wayland_session_DATA is not set anywhere before, so using += results in: error: dist_wayland_session_DATA must be set with '=' before using '+=' Signed-off-by: Marek Chalupa --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index

Re: GTK hardware scancodes for wayland / detecting XWayland

2015-01-22 Thread Daniel P. Berrange
On Wed, Jan 21, 2015 at 04:32:46PM -0800, Jasper St. Pierre wrote: > On Wed, Jan 21, 2015 at 7:03 AM, Daniel P. Berrange > wrote: > > > I'm trying to port GTK-VNC to work correctly under Wayland, both as > > a native client and as an Xwayland client. The only place we have > > any code that is sp