Mercurial > mplayer.hg
changeset 16973:78ac0dd386c0
Intercept maximize event and go into fullscreen mode.
author | joey |
---|---|
date | Fri, 11 Nov 2005 13:22:01 +0000 |
parents | 6a1eaca0e6c1 |
children | 62d979592493 |
files | libvo/vo_directx.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_directx.c Fri Nov 11 03:07:01 2005 +0000 +++ b/libvo/vo_directx.c Fri Nov 11 13:22:01 2005 +0000 @@ -914,6 +914,9 @@ case SC_MONITORPOWER: mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><INFO>killing screensaver\n" ); return 0; + case SC_MAXIMIZE: + if (!vo_fs) control(VOCTRL_FULLSCREEN, NULL); + return 0; } break; }