Changeset 55e7393cfee2476b26f110101da6827bdfa5a613

Show
Ignore:
Timestamp:
05/10/08 14:16:53 (6 days ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1210421813 +0200
git-parent:

[feb459c350f87a6dc63e50193a6be6a877b5f24d]

git-author:
Rafaël Carré <funman@videolan.org> 1210421813 +0200
Message:

Disable video-on-top while in fullscreen

Really close #1227

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/directx/direct3d.c

    rb82f84b r55e7393  
    528528        val.b_bool = p_vout->b_fullscreen; 
    529529        var_Set( p_vout, "fullscreen", val ); 
     530 
     531        /* Disable video-on-top while in fullscreen mode */ 
     532        if( var_GetBool( p_vout, "video-on-top" ) ) 
     533            ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); 
    530534 
    531535        p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; 
  • modules/video_output/directx/directx.c

    r68733f6 r55e7393  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2004 the VideoLAN team 
    5  * $Id
     5 * $Id: c7fe3e9667dbb25d2b5e84557dad373d0bb754ab
    66 * 
    77 * Authors: Gildas Bazin <gbazin@videolan.org> 
     
    714714        val.b_bool = p_vout->b_fullscreen; 
    715715        var_Set( p_vout, "fullscreen", val ); 
     716 
     717        /* Disable video-on-top while in fullscreen mode */ 
     718        if( var_GetBool( p_vout, "video-on-top" ) ) 
     719            ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); 
    716720 
    717721        p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; 
  • modules/video_output/directx/glwin32.c

    r64a70a8 r55e7393  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2004 the VideoLAN team 
    5  * $Id
     5 * $Id: 413950d2dad41d48d5b411aa8cdfb7b35f88033b
    66 * 
    77 * Authors: Gildas Bazin <gbazin@videolan.org> 
     
    407407        var_Set( p_vout, "fullscreen", val ); 
    408408 
     409        /* Disable video-on-top while in fullscreen mode */ 
     410        if( var_GetBool( p_vout, "video-on-top" ) ) 
     411            ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); 
     412 
    409413        p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; 
    410414        p_vout->p_sys->i_changes &= ~VOUT_FULLSCREEN_CHANGE; 
  • modules/video_output/x11/xcommon.c

    r6a39fbb r55e7393  
    908908         *    be the correct one. 
    909909         */ 
     910        if( var_GetBool( p_vout, "video-on-top" ) ) 
     911            WindowOnTop( p_vout, !val.b_bool ); 
     912 
    910913#ifdef MODULE_NAME_IS_xvmc 
    911914        xvmc_context_reader_unlock( &p_vout->p_sys->xvmc_lock );