Re: FVWM: ManualPlacement w/Xinerama

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 28 Nov 2001 08:36:54 +0100

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 - 01:37:21 GMT

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