[haiku-appserver] Re: partly paiting

  • From: Adi Oanca <adioanca@xxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Mon, 17 Oct 2005 11:11:26 -0700

On 10/17/05, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> >       I agree sending one message only. Let's stay with this solution and
> > see
> > if all works OK. I just am afraid of ::DetachCurrentMessage()
> > because, if this
> > method is called from ::FrameMoved/Resized() the user will be dumped
> > into debugger
> > with a seg fault; more checking is required for "case B_VIEW_RESIZED/
> > MOVED:"
> I don't think you have to, as I don't think there is any point in using
> this method from these methods - and if you really think otherwise, we
> could still emulate the single message approach, as Stephan proposed.
> I don't think it's used that often anyway in any function that deals
> with BView messages.

   You may never know what the user wants to do. What it matters is
that we have a bug and it should be fixed.
   How are you going to emulate a single message? ::CurrentMessage()
would return the original message anyway.


Other related posts: