Re: Moving windows in Pager with middle mouse button. Bug?

Frederick Bruckman (fb@enteract.com)
Fri, 25 Jun 1999 21:37:20 -0500 (CDT)


On Fri, 25 Jun 1999, Dast wrote:

> I just patched 111 from patch 2 all the way up to the latest patch (5).
> Now when I try to move a window in Pager using the middle mouse button,
> strange things seem to happen.  The problem is a little hard to describe
> so I'll be as verbose as possible.

The "little hand" means that the window id isn't being reported to
afterstep. Your WinList doesn't work, either. This works for me:

--- src/afterstep/module.c.orig	Thu Jun 24 06:46:05 1999
+++ src/afterstep/module.c	Fri Jun 25 05:35:41 1999
@@ -435,6 +435,9 @@
   /* done reading command */
   Module[channel].ibuf.done = 0;
 
+  /* set window id */
+  w = Module[channel].ibuf.window;
+
   /* null-terminate the command line */
   text = Module[channel].ibuf.text;
   text[Module[channel].ibuf.size] = '\0';




--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html