Re: X to Wayland conversion documentation -- request

2013-01-20 Thread William Swanson
On Sun, Jan 20, 2013 at 4:18 AM, Joshua Marshall wrote: > I'm trying to look at moving pcmanfm from LXDE over to Wayland. This would > be my first real attempt at doing much GUI related, so when searching for a > guide to switch a X based program to Wayland, I couldn't find any > documentation.

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: [PATCH wayland 1/2] protocol: replace pointer.attach with pointer.set_cursor

2012-06-20 Thread William Swanson
On Tue, Jun 19, 2012 at 12:40 AM, Pekka Paalanen wrote: > IMO a first step in clarifying everything is defining how we think > about pixels: are they squares of width and height 1.0, or do we think > of them as points, with unit spacing. The best way to deal with this, I have found, is to treat a

Re: concerns over wayland and need for wayland app display to X Server

2012-02-27 Thread William Swanson
On Mon, Feb 27, 2012 at 11:32 AM, David Jackson wrote: > How does a wayland app do that? How does a wayland app tell the GPU to > render a square 30x30 at coordinate 40x40? Keep in mind, there are many > different manufacturers of GPUs and each may have different bugs and > differences in the inte

Re: Unresponsive applications

2011-09-22 Thread William Swanson
ient, "You should resize yourself." Until the client responds with a new buffer, however, the compositor is stuck drawing the window border in the same non-resized location (otherwise it would tear). Thus, compositor-side borders behave no better than client-side borders, and a lot of

Re: Unresponsive applications

2011-09-22 Thread William Swanson
s? I don't know; there are good arguments on both sides. My point is that either way is perfectly feasible from a purely technical point of view.* -William Swanson * Actually, doing the Windows Vista "glass" effect requires the compositor to get involved with borders. The glass

Experiments with Windows 7 window management

2011-05-14 Thread William Swanson
Many people have strong opinions about client side window decorations. I would like to introduce some facts. Specifically, how does Windows 7, a widely-used desktop OS with client-side decorations, handle things? Unresponsive applications: I created a test program with a "crash" button and a stand