Changeset f5f7c36c4351a71129e4d2f6e6a1d03823387713

Show
Ignore:
Timestamp:
05/12/08 18:40:49 (2 months ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1210610449 +0200
git-parent:

[f5266ccf92db33ce9f6234de82b46b96f089e37d]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1210610396 +0200
Message:

Make sure the window is set to a normal level before going to fullscreen.

This fixes the 'the fspanel is missing if I have always-on-top selected' bug and should also fix #1227 for OS X.

This patch needs testing on a multiscreen setup before being backported.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/vout.m

    r3ad6ea9 rf5f7c36  
    771771- (void)enterFullscreen 
    772772{ 
     773    if( var_GetBool( p_real_vout, "video-on-top" ) ) 
     774    { 
     775        [o_window setLevel: NSNormalWindowLevel]; 
     776    } 
     777 
    773778    [[o_view class] performSelectorOnMainThread:@selector(resetVout:) withObject:[NSValue valueWithPointer:p_vout] waitUntilDone:YES]; 
    774779    [[[[VLCMain sharedInstance] getControls] getFSPanel] setActive: nil]; 
     
    777782- (void)leaveFullscreen 
    778783{ 
     784    if( var_GetBool( p_real_vout, "video-on-top" ) ) 
     785    { 
     786        [o_window setLevel: NSStatusWindowLevel]; 
     787    } 
     788 
    779789    [[o_view class] performSelectorOnMainThread:@selector(resetVout:) withObject:[NSValue valueWithPointer:p_vout] waitUntilDone:YES]; 
    780790    [[[[VLCMain sharedInstance] getControls] getFSPanel] setNonActive: nil];