[haiku-appserver] Re: Focus

  • From: Adi Oanca <adioanca@xxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 17 Nov 2005 23:21:05 +0200

Hi,

Stephan Aßmus wrote:
Now for the active window tab - I think it's a good idea to keep the
border of a window with floating windows active at all times - because
only then you know to which window the floating windows belong. Maybe
we should even introduce a third color state for this case, as it
wouldn't work to well with FFM if it would be the same.
In any case, I think floating windows should just behave like any other
window - ie. they can be active.


I think you're forgetting that floating windows of inactive windows are automatically hidden. IAW, all floating windows currently on screen belong to the same currently active app/window.

:-) Exactly. They belong to the "currently active window" :-)
At least that's how I understand. The active window, has some floating windows floating around. I agree with Stephan - a floating window (app or subset) should not have active status.


HOWEVER, maybe we all missed this: There is no {Has/Is}Focus() in BWindow!! Maybe IsActive() is supposed to do just that - get the focus state of a window?


bye, Adi.

Other related posts: