On 1/10/06, David Sharp <[EMAIL PROTECTED]> wrote:
With regards to the second part, I used screen coords of 1 because the outer row of pixels on the zone has an input window which is what the edge flipping uses, so don't want to consider warping to that space.
With regards to the first part, I don't have xinerama so couldn't test that - apologies for it seemingly not working. My understanding was that a zone was like a desk, but it seems I got that bit wrong.
Regards!
David
On 1/6/06, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote:
> On Wed, 4 Jan 2006 00:41:56 +0900 David Stevenson < [EMAIL PROTECTED]>
> babbled:
>
> > Hi,
> >
> > When using the <alt><tab> winlist functionality, if your windows are more
> > than half-way off a given edge of the screen (i know i know! but I only have
> > a 15-inch display :-) it happens) when the mouse pointer warps, it warps so
> > far as to cause an edge-flip to occur after the window is selected.
> >
> > The attached patch ensures the pointer is warped to the center of the part
> > of the window that remains visible on the desk, preventing the
> > edge-flipping.
>
> good point! well spotted! fixed! :)
the solution is incomplete, however. It is not mindfull of what 'zone'
(xinerama) the window is in. Alt-Tab switching on the second screen
warps the pointer half way between the left screen edge (or right edge
of the first screen) and the left edge of the window.
An attempt at a patch (a revision of Mr. Stevenson's) is attached, but
i have not compiled, let alone tested, it.
also, more minorly, it seems the previous patch assumed screen coords
start at 1, which unless i don't know something about e, is incorrect,
so my patch assumes they start at 0, or, really, at the zone's x and
y.
Thanks, d#
With regards to the second part, I used screen coords of 1 because the outer row of pixels on the zone has an input window which is what the edge flipping uses, so don't want to consider warping to that space.
With regards to the first part, I don't have xinerama so couldn't test that - apologies for it seemingly not working. My understanding was that a zone was like a desk, but it seems I got that bit wrong.
Regards!
David