[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] No VideoResize event on restore from maximise
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] No VideoResize event on restore from maximise
- From: Rene Dudfield <renesd@xxxxxxxxx>
- Date: Mon, 21 Feb 2005 08:42:10 +1100
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sun, 20 Feb 2005 16:42:34 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=lPdW0iJVodCGxIK40FkrTuIPR+iGVYasiOiFoV8g4hSKDNLEyMUCfVCz86oHp+q+Swqpc3fboU+EOHK2ZPmL8r/2Ij9NTvoeRD2Sv9AGTTOS/Yf6vn6aJuUn54Y8VKR4PUdjaHYJu5G6B9wwBgWlzMnM4ZvMlsJB0B617DGLNLM=
- In-reply-to: <42180FFA.80708@rogers.com>
- References: <42180FFA.80708@rogers.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hey Mike,
On Sat, 19 Feb 2005 23:20:10 -0500, Mike C. Fletcher
<mcfletch@xxxxxxxxxx> wrote:
> If I open a PyGame window and click on the Windows "maximise" box in the
> upper-right corner, I get the expected VIDEORESIZE event. However, if I
> then click on the "restore" box of that maximised window, I don't get
> another VIDEORESIZE event. Is there another event I should be watching for?
>
I'm not sure. If you try printing all the events you might spot
something for maximise/unmaximise.
> This is on Win2K, PyGame 1.6, btw.
>
> Without notification of the resize PyOpenGL code goes a little crazy (it
> still thinks it's drawing into the large window when it's drawing into
> the tiny window) :) .
>
Could you please try it with the prerelease pygame?
This pygame includes the latest SDL(1.2.8) which seems to have a few
windows fixes in it.
http://www.madecollective.com/~rene/pygame-1.7.win32-py2.4.exe
Cheers.