[haiku-development] Re: Terminal patch

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 27 Jan 2009 11:36:57 +0100

On 2009-01-27 at 11:08:29 [+0100], rossi@xxxxxxxxxxxxxxx wrote:
> Only issue is that the 
> need to be closed manually, as the "Close All" for some reasons I didn 
> grasp doesn't invoke the windows QuitRequested() hook ...

That's certainly not supposed to happen. Maybe it's something special to 
the Terminal? BApplication has a quit loop that calls QuitRequested() on 
each window. If Terminal would quit it's own windows via Lock() -> Quit() 
before that, then it would be bypassed. When you close a single Terminal 
window, it will receive QuitRequested() because then B_QUIT_REQUESTED goes 
to that window, instead of to the application as with "Close All".

Best regards,
-Stephan

Other related posts: