Re: Implementing show_window_menu in Weston

2016-11-09 Thread Dima Ryazanov
Got it, thanks Jonas! On Wed, Nov 9, 2016 at 8:56 PM, Jonas Ådahl wrote: > On Wed, Nov 09, 2016 at 03:21:30PM -0800, Dima Ryazanov wrote: > > Hi, > > > > I'd like to take a shot at implementing window menus (from xdg-shell) in > > Weston - but I don't have a good understanding of how the composi

RE: Re:RE: Can't register bind ivi-application

2016-11-09 Thread Ucan, Emre (ADITG/SW1)
Hi Anthenony, You can put it under /etc/xdg/weston/ directory Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 6937 > -Original Message- > From: wayland-devel [mailto:wayland-devel- > boun...@lists.freedesktop.org] On Behalf Of ??? > Sent: Mittwoch, 9. November 2016

Re: Shell surface positioning

2016-11-09 Thread Jonas Ådahl
On Wed, Nov 09, 2016 at 10:30:45AM +0100, Jan Synacek wrote: > Hello, > > I'm playing around with libwayland-client, implementing a simple > application. I made the middle mouse button move the "window" using > wl_shell_surface_move() when the button is pressed, which works. What > I don't underst

[PATCH wayland] protocol: spell out that we're using linux/input-event-codes.h key codes

2016-11-09 Thread Peter Hutterer
Because we already rely on it for xkb anyway. This is a retrofit, which is not ideal but I'm not sure any compositor out there uses anything else. Might as well define it. Signed-off-by: Peter Hutterer --- A side-note here: my first version sent to Jonas privately had a reserved range for any key

[PATCH wayland] protocol: indentation fixes

2016-11-09 Thread Peter Hutterer
8 spaces changed to one tab Signed-off-by: Peter Hutterer --- protocol/wayland.xml | 100 +-- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 6c6d078..bcc228f 100644 --- a/protocol/w

Re: Implementing show_window_menu in Weston

2016-11-09 Thread Jonas Ådahl
On Wed, Nov 09, 2016 at 03:21:30PM -0800, Dima Ryazanov wrote: > Hi, > > I'd like to take a shot at implementing window menus (from xdg-shell) in > Weston - but I don't have a good understanding of how the compositor, > shell, etc. interact, so wanted to ask about it first. > > Looks like the ent

Implementing show_window_menu in Weston

2016-11-09 Thread Dima Ryazanov
Hi, I'd like to take a shot at implementing window menus (from xdg-shell) in Weston - but I don't have a good understanding of how the compositor, shell, etc. interact, so wanted to ask about it first. Looks like the entry point for it would be the "show_window_menu" member of "shell_desktop_api"

[PATCH] doc: Fix a typo in the client documentation

2016-11-09 Thread Moritz Kiefer
Signed-off-by: Moritz Kiefer --- doc/publican/sources/Client.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/publican/sources/Client.xml b/doc/publican/sources/Client.xml index fcdd2f2..19bf3e9 100644 --- a/doc/publican/sources/Client.xml +++ b/doc/publican/sources/Cli

Re: Kinetic scroll in libinput Xorg driver

2016-11-09 Thread Bill Spitzak
On Tue, Oct 25, 2016 at 3:06 PM, Peter Hutterer wrote: >> @Bill: What Peter says is that there could be some applications that >> implement special behaviors when you scroll while at the end of the >> file/context/whatever. I don't see >> Scroll events are sends to the window below the >> mouse

Re:RE: Can't register bind ivi-application

2016-11-09 Thread 袁嘉伟
Hi Ucan: I have another question that what path the weston.ini and ivi-controller.so should be put in ARM(Navigation machine), usr/lib or other? I used i.mx6 chip provided by NXP, and build kenerl and uBoot from Yocto. 在 2016-07-05 16:05:17,"Ucan, Emre (ADITG/SW1)" 写道: Hi

Weston

2016-11-09 Thread Nikola Popovic
Greetings. I have installed yocto on my board. Im planing to run weston just after boot finish and to run chromium inside weston. Is it possible to write some script or something in weston.ini to run chromium inside weston without my interaction. Tnx! -- Nikola Popovic Software Engineer Tel

Shell surface positioning

2016-11-09 Thread Jan Synacek
Hello, I'm playing around with libwayland-client, implementing a simple application. I made the middle mouse button move the "window" using wl_shell_surface_move() when the button is pressed, which works. What I don't understand, though, is how do I make the compositor position the "window" when i

Re: Kinetic scroll in libinput Xorg driver

2016-11-09 Thread Bill Spitzak
On Mon, Oct 24, 2016 at 5:31 PM, Peter Hutterer wrote: > On Mon, Oct 24, 2016 at 06:42:31PM +, Alexis BRENON @Wayland wrote: >> Hello everyone, >> >> I would like to implement kinetic scroll in the libinput driver for Xorg. >> >> I know that it's probably not the intended use of libinput ; as

Re: [PATCH weston 2/2] compositor-drm: Restore use-current-mode functionality

2016-11-09 Thread Daniel Stone
Hi Armin, On 9 October 2016 at 22:48, Armin Krezović wrote: > diff --git a/compositor/main.c b/compositor/main.c > index 320305c..ffeadfb 100644 > --- a/compositor/main.c > +++ b/compositor/main.c > @@ -78,6 +78,7 @@ struct wet_compositor { > struct weston_config *config; > struct

Re: [PATCH weston 2/3] ivi-shell: describe members of type wl_list

2016-11-09 Thread Pekka Paalanen
On Fri, 1 Jul 2016 09:34:50 + "Ucan, Emre (ADITG/SW1)" wrote: > I wrote comments on which list they are used with > > Signed-off-by: Emre Ucan > --- > ivi-shell/ivi-layout-private.h| 16 > ivi-shell/ivi-layout-transition.c |2 +- > ivi-shell/ivi-layout.c

RE: [PATCH weston v2 3/3] ivi-shell: use zalloc instead of calloc

2016-11-09 Thread Ucan, Emre (ADITG/SW1)
Hi Pekka, Thank you for your comment. You are right with your findings. I will send a new patch to fix this issue. Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 6937 > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Mittwoch, 9. No

Re: [PATCH weston v2 3/3] ivi-shell: use zalloc instead of calloc

2016-11-09 Thread Pekka Paalanen
On Thu, 28 Jul 2016 10:23:00 -0700 Yong Bakos wrote: > Hi Emre, > > > On Jul 28, 2016, at 7:14 AM, Ucan, Emre (ADITG/SW1) > > wrote: > > > > v2 changes: > > - use xzalloc > > - add an explicit include of xalloc.h in any .c file > > that uses xzalloc. > > > > Signed-off-by: Emre Ucan > >