Re: xdg shell status and gaps

2014-09-25 Thread Bill Spitzak
On 09/25/2014 03:04 PM, Jasper St. Pierre wrote: You mean like the existing set_parent request that has been there since xdg-shell has landed? http://cgit.freedesktop.org/wayland/weston/tree/protocol/xdg-shell.xml#n140 Yes except it needs a guarantee about what happens when you change parent

Re: weston-launch failed to start up in system initialize phase.

2014-09-25 Thread Pekka Paalanen
On Wed, 24 Sep 2014 06:05:17 + Yang Andy wrote: > Hi everyone > > I have a question about weston-launch start up in system initialize phase. > > When i start up target device,weston-launch which is launch from > systemd/service is crashed in system initialize phase. > > But i can run wes

Re: xdg shell status and gaps

2014-09-25 Thread Jasper St. Pierre
Well, it can't be a state enum, because that's from compositor to client. We certainly could make it a small extension as part of gtk_shell, though. On Fri, Sep 26, 2014 at 12:02 AM, Jason Ekstrand wrote: > > On Sep 25, 2014 3:04 PM, "Jasper St. Pierre" > wrote: > > > > > > > > On Thu, Sep 25,

Re: xdg shell status and gaps

2014-09-25 Thread Jason Ekstrand
On Sep 25, 2014 3:04 PM, "Jasper St. Pierre" wrote: > > > > On Thu, Sep 25, 2014 at 3:58 PM, Bill Spitzak wrote: >> >> On 09/25/2014 01:57 PM, Jasper St. Pierre wrote: >> >>> https://github.com/magcius/weston/commit/c1e5a846f4f57400bca1262111f9793e451c5b49 >> >> >> That patch has nothing to do wi

Re: xdg shell status and gaps

2014-09-25 Thread Jasper St. Pierre
On Thu, Sep 25, 2014 at 3:58 PM, Bill Spitzak wrote: > On 09/25/2014 01:57 PM, Jasper St. Pierre wrote: > > https://github.com/magcius/weston/commit/c1e5a846f4f57400bca1262111f979 >> 3e451c5b49 >> > > That patch has nothing to do with what is needed. > > You don't need a "modal window type". Thi

Re: xdg shell status and gaps

2014-09-25 Thread Bill Spitzak
On 09/25/2014 01:57 PM, Jasper St. Pierre wrote: https://github.com/magcius/weston/commit/c1e5a846f4f57400bca1262111f9793e451c5b49 That patch has nothing to do with what is needed. You don't need a "modal window type". This is trivial for a client to do by just pretending that whatever keyst

Re: xdg shell status and gaps

2014-09-25 Thread Matthias Clasen
On Thu, Sep 25, 2014 at 4:18 PM, Bill Spitzak wrote: > I agree it would be better to just hide the window. Pointer lock (being > discussed elsewhere) should not be lost when this happens. It sounds like > the loss of grabs is why you lower rather than hide in X. Also if your > client wants to id

Re: xdg shell status and gaps

2014-09-25 Thread Jasper St. Pierre
On Thu, Sep 25, 2014 at 2:18 PM, Bill Spitzak wrote: > On 09/25/2014 07:32 AM, Jasper St. Pierre wrote: > > 1) Marking dialogs as modal (needed so we can implement the 'attached >> modal' visuals of gnome-shell >> > > I notice this one was ignored. There seems to be some set of people >

Re: xdg shell status and gaps

2014-09-25 Thread Bill Spitzak
On 09/25/2014 07:32 AM, Jasper St. Pierre wrote: 1) Marking dialogs as modal (needed so we can implement the 'attached modal' visuals of gnome-shell I notice this one was ignored. There seems to be some set of people working on wayland that hate overlapping windows and want to guarant

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-25 Thread Bill Spitzak
On 09/25/2014 06:41 AM, Matthieu Gautier wrote: How do you handle transformed surfaces ? If a surface is scale by 0.5 for example. Absolute cursor seems to move twice its speed from client pov. Do we want game to turn player position quickly in this situation ? (And with rotation transformatio

Re: xdg shell status and gaps

2014-09-25 Thread Matthias Clasen
On Thu, Sep 25, 2014 at 10:32 AM, Jasper St. Pierre wrote: >> Anyway, here's the list: >> >> 1) Marking dialogs as modal (needed so we can implement the 'attached >> modal' visuals of gnome-shell What about this one ? >> 2) Lowering windows (used e.g. by GtkInspector to get out of the way >> w

Re: How to maintain relative position of two surfaces?

2014-09-25 Thread Hongze Zhao
Actually for this stage I only want to write a desktop application. But I may want to extend it to embedded systems. I will read the document of ivi first. Thanks, Hongze On Thu, Sep 25, 2014 at 10:33 AM, Jasper St. Pierre wrote: > Note that ivi-shell is designed for embedded systems, and won't

Re: How to maintain relative position of two surfaces?

2014-09-25 Thread Jasper St. Pierre
Note that ivi-shell is designed for embedded systems, and won't be implemented by traditional desktop systems. It depends on the type of application you're writing. If you want to write a traditional desktop application, ivi-shell isn't for you. On Thu, Sep 25, 2014 at 1:32 AM, Ucan, Emre (ADITG/S

Re: xdg shell status and gaps

2014-09-25 Thread Jasper St. Pierre
On Thu, Sep 25, 2014 at 5:20 AM, Matthias Clasen wrote: > Hi, > > so yesterday we released what we described as a day-to-day usable > GNOME/Wayland. Congratulations to everybody involved in defining > xdg-shell on getting us this far. > > But... (I wouldn't write if there wasn't a but) we are not

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-25 Thread Matthieu Gautier
Le 24/09/2014 21:44, Bill Spitzak a écrit : On 09/24/2014 09:04 AM, Matthieu Gautier wrote: If for any reason the user move the mouse and the pointer position doesn't change (cause of pointer lock or pointer is already on a screen corner), a motion event is still generated but with surface_x/

xdg shell status and gaps

2014-09-25 Thread Matthias Clasen
Hi, so yesterday we released what we described as a day-to-day usable GNOME/Wayland. Congratulations to everybody involved in defining xdg-shell on getting us this far. But... (I wouldn't write if there wasn't a but) we are not yet calling it a '100% complete port' because there are still a numbe

RE: How to maintain relative position of two surfaces?

2014-09-25 Thread Ucan, Emre (ADITG/SW1)
Hi, you can do it with weston-ivi-shell. IVI-Shell introduces layer concept to weston. A layer is a group of surfaces which can be moved or resized together. But IVI-Shell is just an interface and you have to implement your own APIs to use it. Wayland-IVI-Extension is a set of readily impleme