[haiku-commits] Re: r36811 - in haiku/trunk: headers/os/interface headers/private/app src/kits/interface src/servers/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 14 May 2010 23:14:35 +0200

Stephan Assmus <superstippi@xxxxxx> wrote:
> > How is this different from BView::GetMouse() ? Or, better said:
> > shouldn't they share the same server side-implementation ?
> Indeed BView::GetMouse() without history is similar. But the 
> difference is 
> also what thread handles the reply. For the BView, it's the 
> ServerWindow, 
> but for the new global call it's ServerApp.

IOW you don't need a window to get the mouse position.
I'm not sure why we need the ServerWindow version anymore, though (other 
than multi-threading, that is).

Bye,
   Axel.


Other related posts: