[PATCH weston 09/16] Introduce new XWayland protocol and implementation

2012-12-12 Thread Tiago Vignatti
The new protocol features the separation of the X Window Manager from Wayland compositor. Compared with the previous protocol, it aims to avoid mutual deadlock where Weston waits for a reply to get xcb_get_property(), while X is waiting in some wl_display_roundtrip(). Other advantages exist also li

[PATCH weston 13/17] Introduce new XWayland protocol and implementation

2012-11-30 Thread Tiago Vignatti
The new protocol features the separation of the X Window Manager from Wayland compositor. Compared with the previous protocol, it aims to avoid mutual deadlock where Weston waits for a reply to get xcb_get_property(), while X is waiting in some wl_display_roundtrip(). Other advantages exist also li

Re: new xwayland protocol

2012-09-28 Thread Tiago Vignatti
s.freedesktop.org/show_bug.cgi?id=54604 https://bugs.freedesktop.org/show_bug.cgi?id=54603 https://bugs.freedesktop.org/show_bug.cgi?id=54599 they're related with the window position and aspects of resizing that changed considerably with the new xwayland protocol. Therefore I don't think m

Re: new xwayland protocol

2012-09-14 Thread Bill Spitzak
William Swanson wrote: On Fri, Sep 14, 2012 at 12:01 PM, Bill Spitzak wrote: Both Linux and windows support text files that say something like this (we wrote the code that reads/writes these files): window_position: 10,30,400,500 Your example is already deeply broken, since it doesn't co

Re: new xwayland protocol

2012-09-14 Thread William Swanson
On Fri, Sep 14, 2012 at 12:01 PM, Bill Spitzak wrote: > Both Linux and windows support text files that say something like this (we > wrote the code that reads/writes these files): > > window_position: 10,30,400,500 Your example is already deeply broken, since it doesn't consider things like the

Re: new xwayland protocol

2012-09-14 Thread Nick Kisialiou
I would like to share with you a couple of demos of the 3D virtual reality desktop, courtesy of Hesham Wahba. I believe it will give you a better idea of what Pekka was talking about: Demo 1 shows the side-by-side view for left and right eyes. It also shows orientation control by a gyroscope in iP

Re: new xwayland protocol

2012-09-14 Thread Bill Spitzak
Pekka Paalanen wrote: What is going to happen is Wayland clients are going to use the X api just to get this information. No, that is impossible. I do believe it will be impossible to use the Wayland API and be able to set window x/y positions by somehow messing with the X api. My worry is

Re: new xwayland protocol

2012-09-14 Thread Thiago Macieira
On sexta-feira, 14 de setembro de 2012 10.07.38, dar...@chaosreigns.com wrote: > On 09/14, Pekka Paalanen wrote: > > Apparently you have forgot all about, say, dome projectors or virtual > > displays, where the output is a half sphere. Good luck mapping Cartesian > > global coordinates there in any

Re: new xwayland protocol

2012-09-14 Thread darxus
On 09/14, Pekka Paalanen wrote: > Apparently you have forgot all about, say, dome projectors or virtual > displays, where the output is a half sphere. Good luck mapping Cartesian > global coordinates there in any meaningful way. What coordinate system does that use, if not cartesian? -- "Forget

Re: new xwayland protocol

2012-09-14 Thread Pekka Paalanen
On Fri, 14 Sep 2012 10:36:53 +0200 Andreas Ericsson wrote: > On 09/14/2012 08:40 AM, Pekka Paalanen wrote: > > On Thu, 13 Sep 2012 11:27:50 -0700 > > Bill Spitzak wrote: > > > >> My recommendation is to give up on useless "purity" and make Wayland > >> clients be able to get and set the exact x

Re: new xwayland protocol

2012-09-14 Thread Andreas Ericsson
On 09/14/2012 08:40 AM, Pekka Paalanen wrote: > On Thu, 13 Sep 2012 11:27:50 -0700 > Bill Spitzak wrote: > >> Tiago Vignatti wrote: >> >>> It features ... forwarding global coordinates to X >> >> I don't like the idea that X clients are "privileged" to get this >> information, while real Wayland

Re: new xwayland protocol

2012-09-13 Thread Pekka Paalanen
On Thu, 13 Sep 2012 11:27:50 -0700 Bill Spitzak wrote: > Tiago Vignatti wrote: > > > It features ... forwarding global coordinates to X > > I don't like the idea that X clients are "privileged" to get this > information, while real Wayland clients can't get it. X is special. X clients expect

Re: new xwayland protocol

2012-09-13 Thread Bill Spitzak
Tiago Vignatti wrote: It features ... forwarding global coordinates to X I don't like the idea that X clients are "privileged" to get this information, while real Wayland clients can't get it. What is going to happen is Wayland clients are going to use the X api just to get this informatio

new xwayland protocol

2012-09-13 Thread Tiago Vignatti
Guys, here's the smoke signal for the new xwayland private protocol I've been working on. There are about 30 commits on all the repositories; let me know if there's a better way to organize this eventually: http://cgit.freedesktop.org/~vignatti/wayland/log/?h=xwm-client http://cgit.free