Changeset 937e898593c4bf108c3b02d349b940e6667d7f83

Show
Ignore:
Timestamp:
05/10/08 18:20:51 (2 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1210436451 +0200
git-parent:

[d9752f14c50c932c07c29d9df4ed48b2f3d6d376]

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

Do not touch the always-on-top when going fullscreen

It needs to be done by the GUI only

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/msw/events.c

    r9dd6534 r937e898  
    12421242    val.b_bool = p_vout->b_fullscreen; 
    12431243    var_Set( p_vout, "fullscreen", val ); 
    1244  
    1245     /* Disable video-on-top while in fullscreen mode */ 
    1246     if( var_GetBool( p_vout, "video-on-top" ) ) 
    1247         ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); 
    12481244} 
  • modules/video_output/x11/xcommon.c

    r65f6489 r937e898  
    14941494    if ( p_vout->i_changes & VOUT_FULLSCREEN_CHANGE ) 
    14951495    { 
    1496         vlc_value_t val_fs, val_ontop; 
    1497  
    14981496        /* Update the object variable and trigger callback */ 
    1499         val_fs.b_bool = !p_vout->b_fullscreen; 
    1500  
    1501         var_Set( p_vout, "fullscreen", val_fs ); 
    1502  
    1503         /* Disable "always on top" in fullscreen mode */ 
    1504         var_Get( p_vout, "video-on-top", &val_ontop ); 
    1505         if( val_ontop.b_bool ) 
    1506             WindowOnTop( p_vout, !val_fs.b_bool ); 
     1497        var_SetBool( p_vout, "fullscreen", !p_vout->b_fullscreen ); 
    15071498 
    15081499        ToggleFullScreen( p_vout );