[MPlayer-cygwin] [PATCH] gui fullscreen switching

Erik Lunchpail erik_27can at yahoo.com
Tue Jul 25 01:23:33 CEST 2006


> They have no way of knowing that the window was resized, you must
> somehow pass that information on to
> vo_w32_check_events in libvo/w32_common.c. You must have stored the
> new
> window dimensions into vo_dwidth and vo_dheight before.

Behaves similar without the gui and tested with mpui which uses WinID.
I'm only aware of mpui and mplayergui which use WinID in windows, so
it's difficult to extensively test. I'll dig around and see what I can
come up with.

> See the WndProc in the same file for how to do it (you must use
> GetClientRect, because the dimensions including the border would be
> incorrect).

I'm all too familiar with window RECT battles :(

Regards,
Erik

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the MPlayer-cygwin mailing list