Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
69d5d9ae
Commit
69d5d9ae
authored
Apr 20, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: lion fullscreen: show fs controller not before animation is finished
parent
2f6670cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
modules/gui/macosx/CompatibilityFixes.h
modules/gui/macosx/CompatibilityFixes.h
+1
-0
modules/gui/macosx/MainWindow.h
modules/gui/macosx/MainWindow.h
+1
-0
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+6
-2
No files found.
modules/gui/macosx/CompatibilityFixes.h
View file @
69d5d9ae
...
...
@@ -95,6 +95,7 @@ enum {
-
(
void
)
setRestorable
:(
BOOL
)
b_value
;
-
(
void
)
toggleFullScreen
:(
id
)
id_value
;
-
(
void
)
windowWillEnterFullScreen
:(
NSNotification
*
)
notification
;
-
(
void
)
windowDidEnterFullScreen
:(
NSNotification
*
)
notification
;
-
(
void
)
windowWillExitFullScreen
:(
NSNotification
*
)
notification
;
@end
...
...
modules/gui/macosx/MainWindow.h
View file @
69d5d9ae
...
...
@@ -196,6 +196,7 @@
/* lion's native fullscreen handling */
-
(
void
)
windowWillEnterFullScreen
:(
NSNotification
*
)
notification
;
-
(
void
)
windowDidEnterFullScreen
:(
NSNotification
*
)
notification
;
-
(
void
)
windowWillExitFullScreen
:(
NSNotification
*
)
notification
;
@end
...
...
modules/gui/macosx/MainWindow.m
View file @
69d5d9ae
...
...
@@ -2095,8 +2095,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
o_video_view
setFrame
:
[[
self
contentView
]
frame
]];
b_fullscreen
=
YES
;
[
o_fspanel
setVoutWasUpdated
:
(
int
)[[
self
screen
]
displayID
]];
[
o_fspanel
setActive
:
nil
];
[
self
recreateHideMouseTimer
];
i_originalLevel
=
[
self
level
];
...
...
@@ -2123,6 +2121,12 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
self
setMovableByWindowBackground
:
NO
];
}
-
(
void
)
windowDidEnterFullScreen
:(
NSNotification
*
)
notification
{
[
o_fspanel
setVoutWasUpdated
:
(
int
)[[
self
screen
]
displayID
]];
[
o_fspanel
setActive
:
nil
];
}
-
(
void
)
windowWillExitFullScreen
:(
NSNotification
*
)
notification
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment