On Thu, Nov 30, 2000 at 04:09:19PM -0800, Sean 'Shaleh' Perry wrote:
> On Fri, Dec 01, 2000 at 01:00:38AM +0100, Wilbert Berendsen wrote:
> >
> > The problem occurs when you Alt+Right Click and move the pointer (resizing
> > the window), while doing that left click _and then continue to move again_
> > thus while holding down both mouse buttons.
> >
>
> yes, I realized this, see my later posts. bb tries to enter the moving state
> without first leaving the resizing state.
>
> > Then Blackbox is both moving and resizing (see Window.cc,
> > BlackboxWindow::motionNotifyEvent) and when stopping only the moving stops
> > (buttonReleaseEvent, line 2500) and leaves X grabbed (and the
> > resizing rectangle stays visible) because the condition at line 2527 is
> > missed.
>
> I tried changing the initial resize code so it would ask for
> Button<used>MotionNotify instead of the generic ButtonMotionNotify when I was
> hacking with cthulhain on irc this morning to no avail. You are right, bb is
> trying to be in two states at once. My quick changes had no affect, so I
> decided to leave this one for morel / nyz. Unless someone else has more time
> to devote to it.
>
Fixed. It just took a little rearranging of BBWindow::motionNotifyEvent().
Jeff Raven