Subject: FVWM: [2.0.44/2.0.45] Bug/BugFix: lost rubberband

From: Makoto MATSUSHITA <[email-masked]>
Date: Sun, 09 Feb 1997 17:49:47 +0900

matusita> I found that rubberband (shows when we move or resize a window)
matusita> disappears, if the mouse pointer goes to the screen-edge, and it does
matusita> not causes scrolling virtual desktop

Maybe following patch fix this. HandlePaging() should erase rubberband
iff it moves current viewport. Is it O.K., Chuck ?

--- fvwm/virtual.c.dist	Thu Jan 23 01:10:21 1997
+++ fvwm/virtual.c	Sun Feb  9 17:47:50 1997
@@ -80,9 +80,6 @@
   XQueryPointer(dpy, Scr.Root, &JunkRoot, &JunkChild,
 		&x, &y, &JunkX, &JunkY, &JunkMask);   
   
-  /* Turn off the rubberband if its on */
-  MoveOutline(Scr.Root,0,0,0,0);
-  
   /* Move the viewport */
   /* and/or move the cursor back to the approximate correct location */
   /* that is, the same place on the virtual desktop that it */
@@ -172,6 +169,8 @@
     {
       if(Grab)
 	MyXGrabServer(dpy);
+      /* Turn off the rubberband if its on */
+      MoveOutline(Scr.Root,0,0,0,0);
       XWarpPointer(dpy,None,Scr.Root,0,0,0,0,*xl,*yt);
       MoveViewport(Scr.Vx + *delta_x,Scr.Vy + *delta_y,False);
       XQueryPointer(dpy, Scr.Root, &JunkRoot, &JunkChild,

-- -
Makoto `MAR_kun' MATSUSHITA
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [email-masked].
To report problems, send mail to [email-masked].