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
38e14c07
Commit
38e14c07
authored
Jan 26, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: workaround for bug where window will vanish if minimized in float-on-top mode
parent
62166376
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
modules/gui/macosx/Windows.m
modules/gui/macosx/Windows.m
+15
-4
No files found.
modules/gui/macosx/Windows.m
View file @
38e14c07
...
...
@@ -467,10 +467,9 @@
if
(
!
b_fullscreen
&&
!
b_entering_fullscreen_transition
)
[
self
setLevel
:
i_state
];
else
{
// only save it for restore
// save it for restore if window is currently minimized or in fullscreen
i_originalLevel
=
i_state
;
}
}
-
(
NSRect
)
getWindowRectForProposedVideoViewSize
:(
NSSize
)
size
...
...
@@ -556,6 +555,18 @@
return
proposedFrameSize
;
}
-
(
void
)
windowWillMiniaturize
:(
NSNotification
*
)
notification
{
// Set level to normal as a workaround for Mavericks bug causing window
// to vanish from screen, see radar://15473716
i_originalLevel
=
[
self
level
];
[
self
setLevel
:
NSNormalWindowLevel
];
}
-
(
void
)
windowDidDeminiaturize
:(
NSNotification
*
)
notification
{
[
self
setLevel
:
i_originalLevel
];
}
#pragma mark -
#pragma mark Mouse cursor handling
...
...
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