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

Yes, I thought so - that's why I called my patch cheap :) I'll try
creating a better one when I find some time to look at it again..

> 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.
> 

Hm, I thought adjust_window() was used for more than just placing the initial
window - else that sounds like a good idea..

--
Elias Pschernig



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