Commit fc12b383 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed inconsistant fullscreen button state in the detached video window

(cherry picked from commit a8fad6766cbc27471f494a5e176112f40516054a)
parent c063b821
...@@ -1563,6 +1563,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1563,6 +1563,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
screen_rect = [screen frame]; screen_rect = [screen frame];
[o_fullscreen_btn setState: YES]; [o_fullscreen_btn setState: YES];
[o_detached_fullscreen_btn setState: YES];
[self recreateHideMouseTimer]; [self recreateHideMouseTimer];
...@@ -1736,6 +1737,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1736,6 +1737,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
b_fullscreen = NO; b_fullscreen = NO;
[o_fullscreen_btn setState: NO]; [o_fullscreen_btn setState: NO];
[o_detached_fullscreen_btn setState: NO];
/* We always try to do so */ /* We always try to do so */
[NSScreen unblackoutScreens]; [NSScreen unblackoutScreens];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment