[haiku-development] Re: For a better autoraise

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 21 Aug 2009 13:55:59 +0200

2009/8/20 Ryan Leavengood <leavengood@xxxxxxxxx>:
> On Thu, Aug 20, 2009 at 6:36 AM, Axel Dörfler<axeld@xxxxxxxxxxxxxxxx> wrote:
>> "Alexandre Deckner" <alex@xxxxxxxxxxxx> wrote:
>>> As has been mentioned several times on the mailing lists, the current
>>> autoraise feature (as seen with Deskbar, but that should be standard/
>>> shared) could be perfected. Well it's really annoying in fact ;)
>>
>> Agreed. One could also thing about introducing a window flag for this,
>> though (like a B_AUTO_ACTIVATE_WINDOW).
>
> +1 to a window flag.

-1 to this.
Having a non virtual BWindow::CenterOnScreen() method would be much
better, since with the flag would only center the window on show. What
if I wanted to center it after a while, or after some action from the
user ?
Or, even a global center_window_on_screen(BWindow *) would work.

Other related posts: