Re: random window position with desktop shell

2015-09-29 Thread Derek Foreman
On 29/09/15 08:05 AM, Benoit Gschwind wrote: > Hello, > > Maybe my thought is insignificant, but I would like to share it anyway, > as young window manager developer. No opinion is insignificant. :) Mine is different than yours, however. > I think all your arguments (both side) are valid. But I

Re: random window position with desktop shell

2015-09-29 Thread Daniel Stone
Hi, On 29 September 2015 at 14:05, Benoit Gschwind wrote: > Maybe my thought is insignificant, but I would like to share it anyway, > as young window manager developer. It's fair enough, and I see what you have to say. All I really have to say in return is two things: - if we add global co-ord

Re: random window position with desktop shell

2015-09-29 Thread Benoit Gschwind
Hello, Maybe my thought is insignificant, but I would like to share it anyway, as young window manager developer. I think all your arguments (both side) are valid. But I will defend the point of view of Jasper. While technically I agree there is no need of absolute positioning and many solution a

Re: random window position with desktop shell

2015-09-28 Thread Daniel Stone
Hi, On 28 September 2015 at 16:54, Jasper St. Pierre wrote: > To be honest, the more I think about it, the more likely I am to just > want to add back in a global coordinate system. There's too many > problems that GNOME is having by omitting it. For starters, menu and > tooltip positioning that

Re: random window position with desktop shell

2015-09-28 Thread Giulio Camuffo
2015-09-28 18:54 GMT+03:00 Jasper St. Pierre : > To be honest, the more I think about it, the more likely I am to just > want to add back in a global coordinate system. There's too many > problems that GNOME is having by omitting it. For starters, menu and > tooltip positioning that works correctly

Re: random window position with desktop shell

2015-09-28 Thread Jasper St. Pierre
To be honest, the more I think about it, the more likely I am to just want to add back in a global coordinate system. There's too many problems that GNOME is having by omitting it. For starters, menu and tooltip positioning that works correctly. Saving and restarting window positions is something t

Re: random window position with desktop shell

2015-09-28 Thread Daniel Stone
On 25 September 2015 at 18:46, Bill Spitzak wrote: > On Fri, Sep 25, 2015 at 1:37 AM, Pekka Paalanen wrote: >> It is a design decision in Wayland/desktop to not expose absolute >> window positions to clients at all. This means that you simply cannot >> know where a top-level window is precisely,

Re: random window position with desktop shell

2015-09-25 Thread Bill Spitzak
On Fri, Sep 25, 2015 at 1:37 AM, Pekka Paalanen wrote: > > They cannot. There is no public coordinate space to even describe it > with. See e.g. https://www.youtube.com/watch?v=_FjuPn7MXMs > Interesting demo (looks like Wolfenstein Castle), but it is not uncommon or impossible for finite 3D geom

Re: random window position with desktop shell

2015-09-25 Thread Pekka Paalanen
Hi Nancy On Fri, 25 Sep 2015 07:03:41 + Nancy Zou wrote: > Dear All: > > Can I ask why desktop shell create a new window with random initial > position? So that people who assume anything about the window position would get caught. Non-deterministic positioning logic is good for that. A l

random window position with desktop shell

2015-09-25 Thread Nancy Zou
Dear All: Can I ask why desktop shell create a new window with random initial position? Can I modify it to fixed position in weston_view_set_initial_position? How can the Weston client get the window initial position? Thank you. Best Regards Nancy _