[haiku-commits] Re: r36787 - haiku/trunk/src/kits/tracker

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 11 May 2010 14:33:47 +0200

On 2010-05-11 at 13:27:05 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Stephan Assmus <superstippi@xxxxxx> wrote:
> > >      // set the offset for the dragged bitmap (for the BView::
> > > DragMessage()
> > >      call)
> > > -    offset = clickedPoint - inner.LeftTop();
> > > +    offset = clickedPoint - BPoint(2, 1) - inner.LeftTop();
> > Interesting. /Could/ be the hotspot of the system cursor.
> 
> Good thinking! That would make a lot of sense, even though this would
> make this fix even poorer ;-)

The default hand hotspot offset is (1, 1), though. :-\ It /could/ be that 
the app_server accounts for the hotspot in the wrong direction when 
composing the drag image and the cursor into one bitmap.

Best regars,
-Stephan

Other related posts: