[haiku-appserver] Re: GetMouse()

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 01 Jun 2005 12:57:33 +0200 CEST

"Stephan Assmus" <superstippi@xxxxxx> wrote:
> > If update requests aren't processed, the rest of the window/views 
> > will 
> > also not be drawn when needed.
> That's true, but is an expected effect. So every control in blocking 
> mode
> should call Window()->UpdateIfNeeded() inside the polling loop, just 
> like
> the BAlert class would have to. Doing this work inside GetMouse() is 
> a
> mis-placed "convenience" IMHO.

Well, you're probably right about that. I think Be just wanted to hide 
the necessity to call UpdateIfNeeded() from developers.
I don't think it's that bad, but there is nothing we can do about it in 
R1, anyway.

Bye,
   Axel.


Other related posts: