Subject: GNOME fix

From: Ben Winslow <[email-masked]>
Date: Sun, 9 Jan 2000 19:25:24 -0500

There's a minor error in the GNOME code since it was updated to use
IsRectangleOnThisPage (this may have been done before my earlier patch was
even included, I haven't updated in a while.)  This fixes it.

-- 
Ben Winslow           /   [email-masked]
bluecherry internet   /   http://www.bluecherry.net
|Rain| @ IRC          /   anynet: irc.anynet.org
Index: fvwm/gnome.c
===================================================================
RCS file: /home/cvs/fvwm/fvwm/fvwm/gnome.c,v
retrieving revision 1.20
diff -r1.20 gnome.c
748,749c748,749
<       val[0] = Scr.Vx;
<       val[1] = Scr.Vy;
---
>       val[0] = Scr.Vx / Scr.MyDisplayWidth;
>       val[1] = Scr.Vy / Scr.MyDisplayHeight;
753c753
<       val[0] = (w->frame_g.x + Scr.Vx) / Scr.MyDisplayWidth;
---
>       val[0] = w->frame_g.x + Scr.Vx) / Scr.MyDisplayWidth;
756c756
<       val[1] = (w->frame_g.y + Scr.Vy) / Scr.MyDisplayHeight;
---
>       val[1] = w->frame_g.y + Scr.Vy) / Scr.MyDisplayHeight;
759a760