Re: FVWM: ManualPlacement w/Xinerama

From: Tony J. White <tjw_at_tjw.org>
Date: Wed, 28 Nov 2001 10:10:52 -0600 (CST)

Dominik,

Sorry for the confusion there. I've noticed another Xinerama problem that may
be a consiquence of my change, but I haven't verified that yet.

It's pretty minor though. It's just when I restart fvwm while the mouse
pointer is on Screen 1, fvwm seems to think that Screen 1 is now Screen 0.
Works fine otherwise.

Thanks,

-Tony

On Wed, 28 Nov 2001, Dominik Vogt wrote:

> On Tue, Nov 27, 2001 at 12:23:35PM -0600, Tony J. White wrote:
> >
> > Manual Placement wasn't working right for me with Xinerama. On Screen 0
> > (left) the rubber band of a new window would be correctly placed under
> > my mouse cursor. On Screen 1, the rubber band of a new window would be
> > placed on the next Desk to the right of Screen 1 (a.k.a off by one Screen).
> >
> > I fixed the problem by changing line 822 of placment.c from:
> >
> > FScreenGetScrRect(NULL, FSCREEN_GLOBAL, &mx, &my, NULL, NULL);
> >
> > to
> >
> > FScreenGetScrRect(NULL, FSCREEN_CURRENT, &mx, &my, NULL, NULL);
> >
> > I haven't noticed any side effects yet, so possibly that's the way it was
> > meant to be.
>
> Ah, I see, you swapped the two lines. The correct code has
> FSCREEN_GLOBAL, not FSCREEN_CURRENT. I'll apply that patch.
>
> Bye
>
> Dominik ^_^ ^_^
>
> --
> Dominik Vogt, email: d.vogt_at_lifebits.de
> LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
> fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
>
>
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 28 2001 - 10:11:18 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST