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

From: Makoto MATSUSHITA <matusita_at_ics.es.osaka-u.ac.jp>
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
_at_@ -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 */
_at_@ -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 majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sun Feb 09 1997 - 02:50:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST