Re: [AD] window resizing should not reposition window

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> 
> > I found some code in wddwin.c which places the window at
> > 32, 32.. so I made a cheap patch which just replaces the 32, 32
> > with 2 static variables.. and it solves the problem for me.
> 
> Yes, but the same problem exists for both the overlay driver and the GDI
> driver too. Therefore I'd suggest to modify src/win/wwnd.c instead: get rid
> of the two first parameters of adjust_window() and move your patch there.
> 

Ok, patch attached. I could not find any code location common to
all the 3 windowed windows-drivers where wnd_x, wnd_y seemed to
return valid values, so I added another function which they all call
before exiting.

--
Elias Pschernig

Attachment: winpos.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/