[haiku-appserver] Re: windows shown at wrong location

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 28 Apr 2005 22:31:12 +0300

Stephan Assmus wrote:
> Adi, DarkWyrm,
> 
> I fixed some bugs in BWindow::MoveTo/By() and BWindow::ResizeTo/By(). 
> Debugging in ServerWindow shows that the correct location and size is 
> passed on to the WinBorder and Decor. When BWindow::Show() is carried 
> out, the window still shows at 0,0. The window in question is from a 
> BMenu. Any ideas where I should look for errors?

        When you move a window, in fact you move WinBorder::fTopLayer. 
WinBorder only contains the border. Try looking into that direction...


bye,
Adi.

Other related posts: